how to find the index of a list item in python code example Example: get index of list python list.index(element)