python find value in list and return index code example Example: get index of list python list.index(element)