for i in range(1, 11): print(i) i = 1 while i < 11: print(i) i += 1