作者:手机用户2602933123 | 来源:互联网 | 2023-05-18 18:12
今天的题目好像有点水。。。原题链接:http:www.runoob.compythonpython-exercise-example9.html题目:暂停一秒输出。我的代码:
今天的题目好像有点水。。。
原题链接:http://www.runoob.com/python/python-exercise-example9.html
题目:暂停一秒输出。
我的代码:
import time
print("Start:%s" %time.ctime())
time.sleep(1)
print("End:%s" %time.ctime())
思考:
学会使用time模块的sleep()函数就行了,可以参考:http://www.runoob.com/python/att-time-sleep.html