STEP 6: Let's create a list 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 variable name of the list to user_choices.

Later, every time the user enters a, b, c, or d, that letter will be added to this list!

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)