STEP 2: Let's change the sprite's image label! An image label is the text we use to create a specific sprite on stage.

  • Replace "person4" with the image label of any sprite you choose, for example, "person1".
  • Be sure to leave the quotes around the text!

We call anything that is in quotes a string. A string could contain words, letters, sentences, or symbols.

Example: "Strings are always green and surrounded by quotes."

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

stage.set_background("concert") sprite = codesters.Sprite("person4")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)