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


import turtle

screen = turtle.Screen()
screen.setup(500, 600)
screen.bgcolor("white")
screen.tracer(0)

stift = turtle.Turtle()
stift.hideturtle()
stift.penup()


def block(x, y, breite, hoehe, farbe):
    stift.goto(x, y)
    stift.pendown()
    stift.color("black", farbe)
    stift.begin_fill()
    for i in range(2):
        stift.forward(breite)
        stift.right(90)
        stift.forward(hoehe)
        stift.right(90)
    stift.end_fill()
    stift.penup()


# Kopf
block(-40, 200, 80, 80, "gold")
# Augen
block(-25, 170, 15, 15, "black")
block(10, 170, 15, 15, "black")
# Mund
block(-20, 135, 40, 10, "saddlebrown")
# Koerper
block(-40, 120, 80, 120, "mediumpurple")
# Arme
block(-80, 120, 40, 120, "limegreen")
block(40, 120, 40, 120, "limegreen")
# Beine
block(-40, 0, 40, 120, "slategray")
block(0, 0, 40, 120, "slategray")

screen.update()
screen.mainloop()