import time # Import the time library, for usage of time functions
# Get the user input for the amount of seconds the timer
# Will run for
total_time = int(input("Enter the amount of seconds: "))
# Run loop into the total time is zero
while total_time > 0:
# Print the current second
print(total_time)
# Decrement one from the total time
total_time -= 1
# Sleep for a total of one second
time.sleep(1)
# Print the end message
print("You have reached the end of the timer")