for i in range(int(2.0)): print(i) code example Example: for i in range(0): print(i) for i in range(0): print(i)