【python】打印进度条 浪里摸鱼 2022-04-26 175 阅读1分钟 程序 import time for i in range(11): time.sleep(0.5) print('\r当前进度:{0}{1}%'.format('▉'*i,(i*10)), end='') 效果图: