STEP 4: Now we can use the value we got with the index to set our background!

  • In GRAPHICS, go to and drop Set Background at the bottom of your code.
  • Change the argument in .set_background() from "city" to stage_image.
  • Click Run to see the background set. What image is the background set to?

Remember, an argument is information that a command needs in order to run!

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)