Run
mylist = [21, 5, 8, 52, 21, 87, 52] item = 67 #search for the item/element index = mylist.index(item) print('The index of', item, 'in the list is:', index)
Output