how to print a list in reverse order in python effciently code example Example: inverted for python for i in reversed(range(5)): print(i)