Loading

摘要: floor() rounds down. int() truncates. The difference is clear when you use negative numbers: >>> import math >>> math.floor(-3.5) -4 >>> int(-3.5) -3 阅读全文
posted @ 2022-03-27 08:54 ZXYFrank 阅读(142) 评论(0) 推荐(0) 编辑