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