python reverser list while in for loop 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)