python function to find index of a list element code example Example: python index of item in list list.index(element)