return index where element is found in list python code example Example: python index of item in list list.index(element)