I'm wanting to make s timer in python, were the user can type how much time they will wait for. The problem is that when the user inputs how much time they want to wait for, I don't know how to make that a variable. So far I have something like this:
n = input("How many seconds do you want to wait for?\n")
for countdown in range(n):
time.sleep(1)
print("...\n")
print("You have successfully waited for " + n + " seconds.")
it makes n a string instead of a variable. Any ideas on how I could fix this?