python for loop step backwards code example Example: reverse for loop in python for i in range(10, -6, -2): print(i)