Python 小数转换为百分比显示

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

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