Let's change the color of the sprite's pen.

  • Go to and drag out Set Color.
  • Change the pen color to "yellow" or choose another color that you like.

Make sure you don't delete the quotes around the color.

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

stage.set_background("pond") sprite = codesters.Sprite("turtle1") sprite.set_size(.5) sprite.pen_down()
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)