Как сделать секундомер в Pythoon
import time
now = time.time()
future = now + 10
while time.time() < future:
# do stuff
pass
Jealous Jackal
import time
now = time.time()
future = now + 10
while time.time() < future:
# do stuff
pass