diff --git a/src/passExam.py b/src/passExam.py index a2adda3..61cf919 100644 --- a/src/passExam.py +++ b/src/passExam.py @@ -2,4 +2,6 @@ #a student passes their exam if they study for more than 5 hours but less #than 40 (at 40, their brain turns to mush) def pass_exam(hours_studied): - pass \ No newline at end of file + if hours_studied < 40 and 5 < hours_studied: + return True + return False