Editor

Draw a Pentagon

Draw this picture · Beginner · about 4 min

Draw a regular pentagon with five sides of 80. The turtle starts in the center, facing right. The first side goes right from there, and the turtle turns left at every corner, so the pentagon sits above its first side. The five turns are the same size and add up to one full turn of 360 degrees.

The picture
Your drawing

Run your program to see it here.

import turtle
t = turtle.Turtle()
t.forward(80)
The solution opens after your first Check.