STEP 15: One final step! We need to change the test variable and value.

  • In your final if statement, change the test variable from choice to correct_answer.
  • Then, change the test value from "yes" to False.
  • Click Run and play the completed game!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)