题解 | #取近似值#
取近似值
https://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
a = float(input()) if a < float((int(a))+0.5): print(int(a)) else: print(int(a)+1)
取近似值
https://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
a = float(input()) if a < float((int(a))+0.5): print(int(a)) else: print(int(a)+1)
相关推荐