Now extend your program however you want! You could try:

  • Try changing the or the .
  • Try changing the angle that the sprite turns.
  • Try changing the number of pixels the sprite moves forward.
  • Click Submit to complete your Hour of Code! Click Next to make your own Turtle Art!

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.set_speed(10) sprite.pen_down() sprite.set_color("yellow") for counter in range(30): # add code here sprite.move_forward(150) sprite.turn_left(92)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)