Run
myList = ['pineapple', 'banana', 'watermelon', 'mango'] for element in myList: print(len(element))
Output