import time
my_time = int(input(“Enter the time in seconds –>”))
for x in range(my_time, 0, -1):
print(x)
time.sleep(1)
print(“Time’s up!!”)
0
Log in to leave a comment
import time
my_time = int(input(“Enter the time in seconds –>”))
for x in range(my_time, 0, -1):
print(x)
time.sleep(1)
print(“Time’s up!!”)
Log in to leave a comment