发布时间:2019-07-23 09:44:38编辑:auto阅读(1801)
四舍六入,五留双
print(round(11.5))
12
print(round(10.5))
10
print(round(10.6))
11
print(round(11.4))
11
上一篇: Python中使用动态变量名的方法
下一篇: 通过慕课网学习Python
49408
48611
39298
36384
30790
27606
26593
21415
21281
19628
279°
531°
496°
601°
1011°
678°
1365°
1603°
1266°
1246°