Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
47493 吴浩田 2023经开区信息技术合格性考试-1 Python3 解答错误 0 42 MS 4488 KB 254 2024-10-22 14:55:23

Tests(0/8):


a = float(input()) b = 2000 c = 3000 d = 4000 if a >= b and a < c: a = a * 0.8 print(f"{a:.1f}") if a >= c and a < d: a = a * 0.7 print(f"{a:.1f}") if a >= d: a = a * 0.6 print(f"{a:.1f}") else: print(f"{a:.1f}")


测评信息: