Lesson 23 of 51 · Basic Shapes
Hexagon & Octagon
A hexagon has 6 sides. Turn angle = 360 / 6 = 60°.
Python
from turtle import *
bgcolor("black")
color("gold")
pensize(3)
speed(0)
for i in range(6):
forward(100)
right(60)
done()Output

1
Bees Love It
Hexagons tile perfectly — that's why bees use them in honeycombs!