import time i = 4 while i > 1: i -= 1 # delay of 1 second. time.sleep(1) print(i) # output will be 3, (delay of 1 sec) 2, (delay of 1 sec) 1