import os, time
for i in range(10):
# linux/os x系统【清除屏幕】代码(线上使用本代码)
os.system('clear') # 清屏
# windows系统代码【清除屏幕】代码
'''
os.system('cls') # 清屏
'''
print(i)
time.sleep(1)
python——计时器,走马灯
最新推荐文章于 2024-03-21 19:51:50 发布