Activity: Add Text
I'M FINISHED WITH HOUR OF CODE!
img

STEP 4: In this activity, we'll add a text object. By default, it's name is sprite , just like our main character.

  • Go to and drag out Text in Color.
  • Change the name before the = to text. Now, we have unique names for both objects on the stage!
  • Run your program to see the text appear.

The grey text above the code is called a comment. Comments are not read by the computer. They describe the code.

stage.set_background("park") sprite = codesters.Sprite("person3") sprite.glide_to(-100, 50)
Support