STEP 3: Let's use an index to get the first value from stage_list.

  • Go to and drop Get Value at Index at the bottom of your program.
  • Change the variable name from my_var to stage_image.
  • Change the list name from my_list to stage_list.

Our command will store the first value, index [0], in the list, so stage_image is now storing "moon".

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

######################################################################## # PLACE LIST CREATIONS HERE # ######################################################################## stage_list = ["moon", "mars", "jupiter", "pluto", "space", "city"] ######################################################################## # PLACE ALL OTHER CODE BELOW THIS # ########################################################################
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)