where we use reverse() in list fun code example
Example: reverse a list in python
a = ['a', 'b', '4', '5', 'd'] #reverse the List
print(list(reversed(a)))
a = ['a', 'b', '4', '5', 'd'] #reverse the List
print(list(reversed(a)))