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