=90: print("优")elif score>=80: print("良")elif score>=70: print("中")elif score>=60: print("及格")else: print("不及格")_编写程序:输入学生的成绩score,能够按分数输出具等级:score290万优。90>score">
赞
踩
score=int(input("请输入成绩"))
if score>=90:
print("优")
elif score>=80:
print("良")
elif score>=70:
print("中")
elif score>=60:
print("及格")
else:
print("不及格")
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。