What happens when code runs?
The program adds 3 to the input score before comparing it with 6. Predict the exact message.
Examples
At the threshold
Input
3
Expected output
Level up
Below the threshold
Input
2
Expected output
Keep going
Hints and solution
Hint 1
Write the new score before evaluating the threshold.
Reveal worked answer
A starting score of 3 becomes 6. Equality satisfies greater-than-or-equal. A starting score of 2 becomes 5, so the else branch prints Keep going.