So here is my code

import turtle turtle.penup() turtle.goto(0,0) turtle.pendown() i = 0 while i <= 5: turtle.forward(100) turtle.left(36) i+=1 turtle.done()

but it draws half of a 12 sided polygon. If I increase the degrees to something like 150 it starts looking more like a star but it doesn't join up with the starting position.

What am I doing wrong? The star in the book has 5 sides and it says each angle is 36 degrees but that can't be possible? They look more like 150 degrees.

This post has been edited by **The Chief**: 24 December 2014 - 10:48 AM