编程入门之分数查询

时间:2019-06-28 22:38:12   收藏:0   阅读:135
编程入门之分数:
这是我第二天接触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(不及格,请补考)
随笔之分数查询

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!