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('你要努力了')

输出:

 


posted @ 2019-05-13 16:35  hejp  阅读(143)  评论(0编辑  收藏  举报