Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to make a stopwatch in python

import time

time_to_stop = 10 #seconds
for x in range(1, time_to_stop+1):
    print(x)
    time.sleep(1)
 
PREVIOUS NEXT
Tagged: #stopwatch #python
ADD COMMENT
Topic
Name
4+2 =