STEP 5: The list has 6 values with indexes of 0 through 5. Let's change the index we are accessing.

  • Find the line of code that reads stage_image·=·stage_list[0]
  • Change the index from 0 to 1. Click Run to see the change.
  • Try out the other index numbers and pick the background that you like best.

If you change the index to a number above 5, it will cause an error because there aren't enough values in the list!

######################################################################## # PLACE LIST CREATIONS HERE # ######################################################################## stage_list = ["moon", "mars", "jupiter", "pluto", "space", "city"] ######################################################################## # PLACE ALL OTHER CODE BELOW THIS # ######################################################################## stage_image = stage_list[0] stage.set_background(stage_image)