Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. mark=int(input("Please enter the individual student score: "))
  2. if mark>=0 and mark<30:
  3. print("Grade U")
  4. elif mark>=30 and mark<40:
  5. print("Grade E")
  6. elif mark>=40 and mark<50:
  7. print("Grade D")
  8. elif mark>=50 and mark<60:
  9. print("Grade C")
  10. elif mark>=60 and mark<70:
  11. print("Grade B")
  12. elif mark>=70:
  13. print("Grade A")
  14. else:
  15. print("Not a valid individual student score.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement