friday12/12/25

i made a timer because there was no games that caught my eye

import time

my_time = int(input(“Enter the time in seconds: “))

for x in range(my_time, 0, -1):

    seconds = x % 60

    minutes = int(x / 60) % 60

    hours = int(x / 3600) % 24

    print(f”{hours:02}:{minutes:02}:{seconds:02}”)

    time.sleep(1)

print(“TIME’S UP!”)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top