This string is a generator of number :
import time
print(1)
print(2)
print(3)
print(4)
n = 1
while True:
print(n)
n = n + 1
time.sleep(0.1)