A parameter is a value in a command that controls how the command runs. One parameter is the string that you just changed. The other parameters control the placement and the color of the text. Use can use the comment as a guide.

  • Change the x coordinate to 0 and the y coordinate to -200.
  • Change the color to "blue".

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) # sprite = codesters.Text("text", x, y, "color") text = codesters.Text("I went to the park!", 100, 200, "red")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)