It's not much fun if our sprite just draws a line! Let's add a turn so our sprite draws a spiral shape.

  • Go to and drag out Turn Left.
  • Drop it INSIDE the for loop, on the line right below the .move_forward() command.

Make sure all the commands inside the loop have purple block ····¬ in front of them.

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