Jan-07-2018, 02:02 PM
(This post was last modified: Jan-07-2018, 02:02 PM by RandomCoder.)
Yes, this is the code I wrote, it displays the time left, but it only counts down with seconds, not like 1m 30s... 1m 29s, and so on.
import time sec=0 sec = int(input("hello! To how many seconds would you lke to set your timer to?")) sec = sec + 1 for i in reversed(range(sec)): print(i) time.sleep(1)