import time for i in range(0, 10000): time.sleep(2) print(i)