The text that appears on the stage is a string. This is a letter, word, or sentence in quotation marks. They appear green in code. In this example, the string that's displayed is "Hello in red."

You can change the string so that it matches the scene on the stage.

  • Change the string to, "I went to the park!"

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

stage.set_background("park") sprite = codesters.Sprite("person3") sprite.glide_to(-100, 50) text = codesters.Text("Hello in red.", 100, 200, "red")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)