how to with its index number in python code example Example: get index of list python list.index(element)