write a program in Python to determine if a student has passed or failed in an exam. If he scores 40 or more, he has passed. Any score below 40 is considered failed. (please take score as an input from the user)
output should look like this: enter the student's score 35 Sorry!, the student has failed
enter the student's score 45 Congratulations, the student has passed the exam
Aucun commentaire:
Enregistrer un commentaire