Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make timer in python

# Only works on seconds

from time import *

while True:
    timer = int(input("How long should timer be? (In Minutes)"))
    for i in range(timer):
        sleep(1)
        print(i)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #timer #python
ADD COMMENT
Topic
Name
3+7 =