Skip to main content

Practice · 4 of 4

Debug: boundary off by one

CHALLENGE
Difficulty: beginner+25 XP

isPassing(60) must be true (60 is a pass) but the code rejects it. Fix the comparison so the boundary is inclusive.

Back to lesson: Practice: Testing and debugging reps