python 浮点运算

 

 

print(format(float(a)/float(b),'.2f'))

 

posted @ 2017-09-19 19:23  湖风雨晚晴  阅读(348)  评论(0编辑  收藏  举报