课堂作业不会弄啊,要求用七段数码管绘制五秒倒计时,并在最后打印自己的名字。
import time for i in range(5): print(f'倒计时{5-i}秒') time.sleep(1) print('你的名字')