given a list reverse the order with loops 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)