📜  如何在python代码示例中制作秒表

📅  最后修改于: 2022-03-11 14:45:38.122000             🧑  作者: Mango

代码示例2
import time

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