Answers for "stopwatch library python"

0

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)
Posted by: Guest on October-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language