print(’\r当前速度 :{:.2f}%’.format(count * 100 / len(lst)), end=’’)
print(’\r当前速度 :{:.2f}%’.format(count * 100 / len(lst)), end=’’)
python换行
python2.X 打印输出时如何不换行
今天在做编程题的时候发现Python的print输出默认换行输出,并且输出后有空格。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M