15-常用成绩分类2

score = int(input('分数: '))

if score >= 60 and score < 70:
    print('及格')
elif 70 <= score < 80:
    print('')
elif 80 <= score < 90:
    print('')
elif score >= 90:
    print('优秀')
else:
    print('你要努力了')

输出:


原文地址:https://www.cnblogs.com/hejianping/p/10857436.html