import time hours = int(input("how many hours? ")) minutes = int(input("how many minutes? ")) seconds = int(input("how many seconds? ")) while hours > 0 or minutes > 0 or seconds > 0: print(hours, ":", minutes, ":", seconds) time.sleep(1) if seconds == 0: seconds = 60 minutes -= 1 if minutes == -1: minutes = 59 hours -= 1 seconds -= 1 while 0 == 0: print("TIMER DONE")