find the index of the array from the user in python code example Example: python index of item in list list.index(element)