摘要:
内置方法 abs 绝对值函数 res = abs(-100) print(res) round 四舍五入 (n.5 n为偶数则舍去 n.5 n为奇数,则进一!) """特点:奇进偶不进""" res = round(4.51) # res = round(4.5) # 4 # res = round 阅读全文
posted @ 2020-07-27 22:22
liyaaa
阅读(168)
评论(0)
推荐(0)
摘要:
1 阅读全文
posted @ 2020-07-27 20:56
liyaaa
阅读(59)
评论(0)
推荐(0)