Click to reopen instructions.

Your goal here is to make a block that draws a five-pointed star. This should be very similar to the blocks you’ve written previously to draw pinwheels and polygons. The main difference is that by the time the turtle has drawn the complete star it will have turned all the way around twice, so 2 x 360 or 720 degrees. So the basic recipe is to move some number of steps, turn one fifth of 720 degrees, and repeat that five times. That should put the turtle back where it’s started having drawn a star. Name your block draw star and have it take one input which specifies the length of the lines that make up the star.

Draw star

Revisions: