►
Run
aList = ['apple', 'banana', 'cherry', 'orange', 'papaya'] aList[2] = 'mango' for element in aList: print(element)
Output