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


from turtle import *

speed(0)

def polygon(d, n):
    for i in range(n):
        forward(d)
        left(360 / n)

def move(x, y):
    penup()
    goto(x, y)
    pendown()

def krug(x, y, d):
    move(x, y)
    polygon(d, 30)

def glaz(x, y):
    color("black")
    begin_fill()
    krug(x, y, 2)
    end_fill()
    color("black")

def пуговица(x, y):
    color("black")
    begin_fill()
    krug(x, y, 2)
    end_fill()
    color("black")

def nos(x, y):
    color("orange")
    begin_fill()
    move(x, y)
    polygon(15, 3)
    end_fill()
    color("black")

def snegovik():
    # нижний круг
    krug(-60, -200, 12)

    # средний круг
    krug(-50, -80, 10)

    # голова
    krug(-40, 10, 8)

    # глаза
    glaz(-20, 90)
    glaz(0, 90)

    # нос
    nos(-15, 75)

    # пуговицы
    пуговица(-20, -10)
    пуговица(-20, -35)
    пуговица(-20, -60)

snegovik()

hideturtle()
done()