python for loop going backwards code example Example: inverted for python for i in reversed(range(5)): print(i)