发布时间:2019-07-23 09:44:38编辑:auto阅读(1946)
四舍六入,五留双
print(round(11.5))
12
print(round(10.5))
10
print(round(10.6))
11
print(round(11.4))
11
上一篇: Python中使用动态变量名的方法
下一篇: 通过慕课网学习Python
51929
51699
42018
38857
33345
30315
28954
23969
23885
22251
377°
2588°
3260°
2712°
2700°
3427°
2656°
3494°
5759°
5536°