Activity 3 - Drawing a hexagon

Turtle, hexagon animation

Great job! You just drew your first shape in Python with Turtle! Now let’s slightly change the code we already wrote to draw a square to instead draw a hexagon. Alex is a bee, after all, and he needs to draw hexagons to build his first honeycomb.

A hexagon is a shape with six sides and six angles. Hexagons are fascinating shapes that we often see in nature! For example, bees use hexagons to build their honeycombs because this shape is very efficient; it uses the least amount of material to hold the most honey.

To help you draw a hexagon, think of how many sides a hexagon has. Now lets find out how many degrees should the turtle turn?

Hint:

Show answer:

As a helpful reminder, this is the code that was used to create a triangle:

for i in range(3):
  turtle.forward(50)
  turtle.left(120)