Jan-03-2020, 06:40 AM
import time import winsound # User Input plan = input("What Your Plan For Today? : ").lower() times = int(input("What Number? : ")) choose = input("Minute?Second?Hour? : ").lower() user = 'yes' # Choose The Time if 'hour' in choose: multi = times * 3600 elif 'minute' in choose: multi = times * 60 elif 'second' in choose: multi = times # Looping while multi > 0 or user == 'yes': print(multi) time.sleep(1) multi -= 1 if multi == 0: print("Sir Its Time For You To Do Your Work And Have Nice Day! :)") user = input("Do You Want To Make More Plans? : ").lower() if user == 'yes': plan = input("What Your Plan For Today? : ") times = int(input("What Number? : ")) choose = input("Minute?Second?Hour? : ").lower() if 'hour' in choose: multi = times * 3600 elif 'minute' in choose: multi = times * 60 elif 'second' in choose: multi = times else: user = 'no'I have a code like a reminder to do work. I want the results of the seconds to only print once but the numbers continue to decrease
How to do it?