STEP 8: Our pizza would taste even better with olives!

Another way to add a value into a list is to use the .append() command.

  • Go to and drag out Append.
  • Change the name in front of .append() from my_list to pizza.
  • Change the argument in .append() from my_var to the string "olives".

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)