今天的題目好像有點水。。。
原題鏈接: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