particular selected is green.
Write another program using the if-elif-else chain to determine
the scores of students in a class. Set a variable “score” to store
the student’s score.
If the student’s score is below 40, indicate an output a
message that such student has failed
If the student’s score is above 41 but less than 55, print
a message that the student has passed.
If the student’s score is above 56 but less than 75, print
a message that the student did well
If the student scores above 76, print a message that the
student did excellently.
Do'stlaringiz bilan baham: |