►
Run
myList = ['apple', 'banana', 'cherry', 'orange', 'mango', 'kiwi'] index = myList.index('watermelon') print(index)
Output