Files
python/pythonProject/第二章/多分支结构1.py
T
2024-01-01 13:00:33 +08:00

14 lines
326 B
Python

scope=eval(input("亲输入您的成绩"))
if scope<0 or scope>100:
print("您的成绩输入有误")
elif 0<=scope<60:
print("未及格")
elif 60<=scope<80:
print("还可以,继续努力")
elif 80<=scope<90:
print("优秀")
elif 90<=scope<100:
print("非常优秀")
elif scope==100:
print("满分")