how to run on a list from reverse loop in python 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)