Run ID:68041
提交时间:2024-03-18 19:12:28
x=float(input()) if x>=0 and x<5: y=-x+2.5 elif x<10: y=2-1.5*(x-3)*2 else: y=x/2-1.5 print("{:.3f}".format(y))