get the index of an element of a list code example Example: get index of list python list.index(element)