Your code
Write the missing line.
Console
Results
0%
Press Run to check your code
Your code has an error
Write the missing line.
Why not 100%?
Penalties: none this run
This number falls on the other side of the question, so it is the else block that runs and the else block that is empty. An empty block is not an error — it simply does nothing, which is why the badge is still grey.
Write the missing line.
Write the missing line.
Write the missing line.