Python显示百分比


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

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