Our turtle has finally escaped the maze and is safely back at his pond! Let's help him draw a spiral in the water to celebrate!

  • Click Run and watch the turtle draw a spiral.
  • Try changing the angle the turtle turns or the number of pixels it moves forward.
  • When you're finished, click Submit and Next to continue.

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

sprite = codesters.Sprite("turtle1") sprite.go_to(-75, -75) sprite.set_size(.5) stage.set_background("pond") sprite.pen_down() sprite.set_color("yellow") for counter in range(25): 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)