-1 python time
我试图了解 python 时间(主要是为了让程序等待)。当我运行这 3 行时:
while True: time.sleep(1) print("BREAK")
我收到错误:
NameError:名称“时间”未定义
问题是什么?
del*_*vey 8
只需import time在代码之前输入即可解决问题。
import time
归档时间:
5 年,9 月 前
查看次数:
6899 次
最近记录: