reverse in list in loop python code example
Example 1: how to reverse a list in python using for loop
a = ['a', 'b', '4', '5', 'd'] #reverse the List
for i in reversed(a):
print(i)
Example 2: python iterate list reverse
for item in my_list[::-1]:
print item