Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a minute counter in python

counter = 1
print(counter)
import time
while True:
    time.sleep(60)
    counter += 1
    print(counter)
#this adds one to the counter every 60 seconds
 
PREVIOUS NEXT
Tagged: #minute #counter #python
ADD COMMENT
Topic
Name
9+9 =