Python 小数转换为百分比显示

print('{:.2%}'.format(0.98))
print('{:.2%}'.format(0.98))

posted @ 2020-07-14 19:08  1314平凡是真  阅读(953)  评论(0编辑  收藏  举报