score = int(input("请输入成绩:")) if score >= 90: print("成绩等级为:a") elif score >= 80 and score < 90: print("成绩等级为:b") elif score >= 60 and score < 80: print("成绩等级为:c") else: print("成绩等级为:d") [2024-09-18 08:50:37 | AI写代码神器 | 156点数解答]