import turtle

window = turtle.Screen()
turtle.reset()

turtle.shape("classic") # форма черепашки
turtle.bgcolor("dark slate gray") # цвет фона
turtle.color("alice blue") # цвет линии
turtle.speed(2) # скорость прорисовки
turtle.pensize(3)

# turtle.left(20) # угол "атаки"
turtle.left(0) # угол "атаки"
turtle.forward(50) # расстояние
turtle.left(90) # угол повторота
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)

# turtle.left(20)
turtle.left(45)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)

# turtle.left(20)
turtle.left(45)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.left(90)

window.exitonclick()
