1 2 3 4
spam = ['cat', 'bat', 'rat', 'elephant'] spam.reverse() for i in range(len(spam)): print(spam[i])