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


from turtle import *

speed(0)

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

color("black")

penup()
goto(-100, -200)
pendown()
begin_fill()
polygon(200, 4)
end_fill()

penup()
goto(-75, 0)
pendown()
begin_fill()
polygon(150, 4)
end_fill()

penup()
goto(-50, 150)
pendown()
begin_fill()
polygon(100, 4)
end_fill()

hideturtle()
done()