for i in range(0,2,-1): print("hello") code example Example: for i in range(0): print(i) for i in range(0): print(i)