time.sleep() 可以讓程式暫停指定的秒數: # 引入time 模組 import time print("Hello") # 暫停1.5 秒 time.sleep(1.5) print("World") ...
確定! 回上一頁