发布时间:2019-07-23 09:44:38编辑:auto阅读(2263)
四舍六入,五留双
print(round(11.5))
12
print(round(10.5))
10
print(round(10.6))
11
print(round(11.4))
11
上一篇: Python中使用动态变量名的方法
下一篇: 通过慕课网学习Python
54955
41747
36334
31770
26669
26360
24885
20492
16431
15847
2975°
2707°
2807°
2953°
2886°
3148°
3040°
2884°
2879°
2854°