how to call index of arraylist python code example Example: get index of list python list.index(element)