题解 | #取近似值#
取近似值
https://www.nowcoder.com/practice/3ab09737afb645cc82c35d56a5ce802a
num = input()
a,b = num.split(".")
if float(f"0.{b}")>=0.5:
print(int(a)+1)
else:
print(int(a))
a,b = num.split(".")
if float(f"0.{b}")>=0.5:
print(int(a)+1)
else:
print(int(a))