python

mac2022-06-30  71

start = time.clock() end = time.clock()

对想要计算运行时间的代码头尾插入。

time.sleep(s)

让程序等待,单位s

 

转载于:https://www.cnblogs.com/Bingo0-python/p/7574289.html

最新回复(0)