asked 90.7k views
4 votes
The message 'you win!' never displays. What change would fix this issue?

1) Line 1 - Change variable name to totalscore
2) Line 3 - Remove var
3) Line 4 - Change conditional to score ��� 5
4) Line 5 - Change to a gettext command

1 Answer

4 votes

Final answer:

To fix the issue of the message 'you win!' not displaying, the student should change Line 5 to a gettext command.

Step-by-step explanation:

The change that would fix the issue is Option 4) Line 5 - Change to a gettext command. By using a gettext command, the message 'you win!' would be correctly displayed. This command is used to display localized messages and can be helpful for displaying different languages or translations.

answered
User MockerTim
by
7.9k points