loading…
The def line is written for you: marks holds a number each time we test it. Inside, print Pass if marks are 33 or more, otherwise print Fail.
result(45) prints Pass
result(20) prints Fail
New to this? The If / Else & Loops lesson explains it from scratch.