We don't quite have a spiral yet since we're only drawing 5 lines!

  • In the for loop, change the number in range() to 20.

This will make our loop repeat 20 times.

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) sprite.turn_left(92)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)