Загрузка данных


from turtle import *

speed(0)

def polygon(d, n):
    for i in range(n):
        fd(d)
        rt(360/n)

penup()
goto(-60, -150)
pendown()
begin_fill()
polygon(120, 4)
end_fill()

penup()
goto(-40, -29)
pendown()
begin_fill()
polygon(80, 4)
end_fill()

penup()
goto(-20, 51)
pendown()
begin_fill()
polygon(40, 4)
end_fill()

hideturtle()
done()