In [3]:
import time

timerVariable = int(input("Enter how many seconds you want to run =>"))

while timerVariable > 0:
    print(timerVariable)
    timerVariable -= 1
    time.sleep(1)
print("Timer complete")
Enter how many seconds you want to run =>5
5
4
3
2
1
Timer complete
In [ ]: