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.

# 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)