第九题:使用 time 模块的 sleep() 函数。

#暂停一秒输出。 程序分析:使用 time 模块的 sleep() 函数。
#time模块的sleep()函数,所以首先要导入time模块
'''
import time
print(123)
time.sleep(3)
print(112)
'''

猜你喜欢

转载自blog.csdn.net/qq_34173491/article/details/80357036