score=eval(input("请输入成绩: ")) if score>=60: grade="D" elif score>=70: grade="C" elif score>=80: grade="B" elif score>=90: grade="A" else:grade="E" print("输入的成绩属于级别{}".format(grade))
score=eval(input("请输入成绩: ")) if score>=60: grade="D" elif score>=70: grade="C" elif score>=80: grade="B" elif score>=90: grade="A" else:grade="E" print("输入的成绩属于级别{}".format(grade))