Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/passExam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
if hours_studied < 40 and 5 < hours_studied:
return True
return False