- score=float(input("Please Enter Your Score: "))
- if(score>100 or score<0):
- print("Invalid Entry! Please Try Again!")
- elif(score<=100 and score>96):
- print("A+! Well Done!")
- elif(score<=96 and score>=93):
- print("A.. You could do better next time!")
- elif(score<=93 and score>=90):
- print("You have an A-.You are no longer a qualified Asian!")
- elif(score<90 and score>86):
- print("B+")
- elif(score<=86 and score>82):
- print("B")
- elif(score<=82 and score>=80):
- print("B-")
- elif(score<80 and score>=77):
- print("C+! How dare you? This Score should not have existed in my class!")
- elif(score<77 and score>=73):
- print("C! Did you even try?")
- elif(score<73 and score>=70):
- print("C-")
- elif(score<70 and score>=67):
- print("D+! You are such a faliure!")
- elif(score<67 and score>=63):
- print("D")
- elif(score<63 and score>=60):
- print("D-...I have no hope in you! You are not going to be successful in the future! You can't even read!")
- else:
- print("F!!!Get Out of my Room NOW! Get OUT! You Idiot!")
複製代碼 |