Python for Kids

Puzzle Number 3

Posted, 21 Jan 2013

Difficulty: easy - medium

I feel a headache coming on, just looking at it, but try writing code to reproduce the following spiral using the turtle module (click on the image to take a closer look):


Hint: Unless you want to wait forever, for the turtle to draw, you might want to speed it up by using the speed function (for example: t.speed(20))

Update: The full solution can be found here.