Answers for "stopwatch after a statement in seconds in python"

0

how to make a stopwatch in pythoon

import time

now = time.time()
future = now + 10
while time.time() < future:
    # do stuff
    pass
Posted by: Guest on July-16-2020

Python Answers by Framework

Browse Popular Code Answers by Language