zhuzheyuan @ 2023-11-22 20:46:58
36分
b=0 a=float(input()) if a >= 0 and a < 5: b=-a+2.5 print('%.3f'%b) elif a >= 5 and a < 10: b=2-1.5(a-3)(a-3) print('%.3f'%a) else: b=a/3-1.5 print('%.3f'%b)
by Foggy_night @ 2023-11-22 20:53:30
else: b=a/3-1.5
应该是
b=a/2-1.5
by zhuzheyuan @ 2023-11-23 19:29:03
谢谢(鞠躬)^ _ ^