题解 | #取近似值#
取近似值
https://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
f = float(input()) print(int(f + 0.5)) # 加上再取整
取近似值
https://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
f = float(input()) print(int(f + 0.5)) # 加上再取整
相关推荐