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('不及格,請補考')