STEP 6: Let's create a variable to store the answers from the user.

We'll leave this list empty for now because we'll append values to it when we loop through the list of questions.

  • From , drag in Empty List and drop it at the bottom of your program.
  • Change the name of the list to user_choices.

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)