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

打印出结果为

python 除法保留小数点后两位

相关文章: