Unit 4 Task 8 - Solution

Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.

Solution - Task 8: Pass mark

← Back to task


One possible program:

def passed(mark):
    return mark >= 40

print(passed(55))
print(passed(35))