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

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

代码示例1
import time

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