XJTU_Python/test/2/1.py

8 lines
93 B
Python

t = float(input())
if (t > 0):
print(1)
elif (t == 0):
print(1/2)
else:
print(0)