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