A Polygon From a Number
Draw this picture · Intermediate · about 6 min
The starter sets sides = 9. Draw a regular polygon with that many sides, each 50 long. The turtle starts in the center, facing right. The first side goes right from there, and the turtle turns left by the same angle at every corner, so the shape sits above its first side.
Use sides in your loop and in the angle, so changing it to 6 would draw a hexagon instead.
Run your program to see it here.
import turtle
t = turtle.Turtle()
sides = 9
The solution opens after your first Check.