Do me a favor, take a few seconds to have a look at my last project.

Thank you, Lulu

Find elements in lists in Python

Find the index of the first occurrence of a given value

>>> myList=["a","a","a","b","c","c"]
>>> myList.index('c')
4

See also


Last update : 04/13/2019