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