import time i = 0 while True: print("Iteration: {}".format(i)) i+=1 time.sleep(1)