STEP 6: Let's rename the list so that it clearly communicates what it is storing.

  • Change the variable name of the list from my_list to pet_list.
  • Change the variable argument in .Display() from my_list to pet_list.

Notice that the only thing that changes onstage is the name of the list in the display!

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)