python 除法保留小数点后两位

t = 68.5
d = 171
c = round(t/d,2)
print(c)

打印出结果为

原文地址:https://www.cnblogs.com/nuliyao123/p/14871336.html