iteration in reverse order python code example Example: inverted for python for i in reversed(range(5)): print(i)