Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #INPUTSCORE
- #2nd endofjuly
- print("INPUT UR SCORE HERE")
- while True : #loop
- score=input ('Enter your score = ')
- sc = int(score)
- if sc > 100 :
- print('Error. Not a valid score..')
- elif int(sc==100):
- print('Score Received. Excellent! You got an A+!')
- elif int(sc>=90 and sc<100):
- print('Score Received. Well Done! You got an A!')
- elif int(sc>=80 and sc<90):
- print('Score Received. Good Job! You got a B !')
- elif int(sc>=70 and sc<80):
- print('Score Received. Dont give up! You got a C!')
- elif int(sc>=50 and sc<70):
- print('Score Received. You can do better! You got a D!')
- elif int(sc>=10 and sc<50):
- print('Score Received. Sorry better luck next time..You got an E!')
- elif int(sc>=0 and sc<10):
- print('Score Received. UNBELIVABLE..A F FOR U')
- #Talice ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement