I did the following:
mylist = ['pencil', 'dog', 'memo', 'Hello']
I want to flip each individual word like:
['licnep', 'god', 'omem', 'olleH']
I've tried the following:
for word in mylist:
word = word[::-1]
However, the above method doesn't work. Please explain.