摘要: 1、round()函数四舍五入 1 print(round(10.4)) # ==>10 2 print(round(10.49)) # ==>10 3 print(round(10.5)) # ==>10 4 print(round(10.51)) # ==>11 5 print(round(10 阅读全文
posted @ 2021-02-20 18:44 绮楼听风雨 阅读(1580) 评论(1) 推荐(0)