how to define the first index in python code example Example: get index of list python list.index(element)