Activity: Strings
img

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

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

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

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