Activity: Strings

STEP 2: Let's change the sprite's image label!

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."

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

stage.set_background("concert") sprite = codesters.Sprite("person1")
Support