Python显示百分比


print(format(a/b,'.2%'))

显示两位小数的百分比显示
posted @ 2017-08-01 11:09  HkGov  阅读(3635)  评论(0编辑  收藏  举报