编程入门之分数查询

编程入门之分数:
这是我第二天接触python的学习知识,仅仅知识冰山上一角。
print('--------期末考试分数查询检验是否合格--------')
score=input('请输入你的成绩>>> :  ')
score=int(score)
if score==100:
    print('成绩已经达到巅峰')
elif score>=90and score<100:
    print('非常优秀!')
elif score>=80and score<90:
    print('一般优秀')
elif score>=70and score<80:
    print('一般般')
elif score>=60and score<70:
    print('还需要多多练习')
elif score>100:
    print('满分只有一百,请不要胡乱查分数,谢谢!!')
else:
    print('不及格,请补考')
随笔之分数查询

猜你喜欢

转载自www.cnblogs.com/wujc3/p/11104872.html