First time here? Check out the FAQ!
answered 2018-03-30 16:35:00 +0100
You can use v.index(a) to get the index of the first occurrence of a. An exception is raised if a is not in v.
v.index(a)
a
v