Checkpoint 10.6.1.
- Remove the () parentheses from the if statement.
- The if statement works when the evaluated expression is enclosed by () parentheses or is not enclosed by () parentheses.
- Replace the equality token (==) with the assignment token (=).
- The equality token is needed for the expression to evaluate to a boolean value.
- Realign the if statement indentation.
- The alignment shown is actually correct.
- “global message” needs to be inserted above the if statement.
- Yes, because the global variable, message, needs to be properly accessed within the local scope of a function in order to modify its value.
Using the default code on CodeSkulptor, Sam wants to change the “Click me” button to work as a toggle button. However, he gets the following error message after clicking the button.

Which of the following would correct the error on line 6?