Here's the graphic:
And here's the code:
import turtle
from turtlehack import *
samo = turtle.Turtle()
for i in range(0, 10):
random_location = (samo, i, i)
n_sided_polygon(samo, 6, color = random_color(), line_thickness = 5, line_length = 80)