From a5e462d99b99d895f6718d8a1c9e5f41b1634130 Mon Sep 17 00:00:00 2001 From: ujnomw Date: Sat, 10 Mar 2018 15:49:25 +0300 Subject: [PATCH] PassExam implementation --- src/passExam.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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