get position of index python code example
Example 1: get index of list python
list.index(element)
Example 2: find index of elem list python
First index of element "Ok" in the list : 1
list.index(element)
First index of element "Ok" in the list : 1