printing index of each element in a lsit in python code example Example: get index of list python list.index(element)