score = 95 if score < 60: print('抱歉,考试不及格') elif score >= 80: print('恭喜你,拿到优秀的成绩') elif score >= 90: print('恭喜你,拿到卓越的成绩') else: print('恭喜你,考试及格')
score = 95
if score >= 90:
print('恭喜你,拿到卓越的成绩')
elif score >= 80:
print('恭喜你,拿到优秀的成绩')
elif score >= 60:
print('恭喜你,考试及格')
else:
print('抱歉,考试不及格')