cara membuat stopwatch di pythoon



import time

now = time.time()
future = now + 10
while time.time() < future:
    # do stuff
    pass
Jealous Jackal