7. Polygons

We already know that in order to do a full circle the turtle should turn 360 degrees. In this lesson we will draw some polygons for fun. Feel free to use cs to clear the screen in any step you like. We will have to use the repeat loop in order to make things more efficient.
Please draw a triangle where each edge is size 100, using a repeat loop. Inside the loop we will go forward and turn right.
We already saw how we can draw a square. We have four edges and the angle is 360/4.
Please draw a square where each edge is size 100, using a repeat loop. Inside the loop we will go forward and turn right.
A pentagon has five edges and the angle will be 360/5.
Please draw a pentagon where each edge is size 100, using a repeat loop. Inside the loop we will go forward and turn right.
A hexagon has six edges. What will be the angle?
Please draw a hexagon where each edge is size 100, using a repeat loop. Inside the loop we will go forward and turn right.
A septagon has seven edges.
Please draw a septagon where each edge is size 100, using a repeat loop. Inside the loop we will go forward and turn right.
An octagon has eight edges.
Please draw a octagon where each edge is size 100, using a repeat loop. Inside the loop we will go forward and turn right.
TurtleAcademy learn programming for freeYour browser is not supporting canvasWe recomand you to use Chrome or Firefox browsers