发布时间:2019-07-23 09:44:38编辑:auto阅读(1991)
四舍六入,五留双
print(round(11.5))
12
print(round(10.5))
10
print(round(10.6))
11
print(round(11.4))
11
上一篇: Python中使用动态变量名的方法
下一篇: 通过慕课网学习Python
52228
52148
42296
39168
33664
30621
29318
24283
24172
22541
124°
122°
131°
124°
180°
340°
377°
382°
361°
398°