发布时间:2019-07-23 09:44:38编辑:auto阅读(1925)
四舍六入,五留双
print(round(11.5))
12
print(round(10.5))
10
print(round(10.6))
11
print(round(11.4))
11
上一篇: Python中使用动态变量名的方法
下一篇: 通过慕课网学习Python
51723
51382
41815
38586
33067
30075
28746
23744
23652
22021
2248°
2931°
2447°
2392°
2979°
2396°
3203°
5265°
5082°
3629°