reverse order for loop python list code example
Example: 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)
a = ['a', 'b', '4', '5', 'd'] #reverse the List
for i in reversed(a):
print(i)