1) прямоугольник, первый вариант:
import turtle
b=40
l=b+20
turtle.shape('turtle')
turtle.goto(l,0)
turtle.goto(l,b)
turtle.goto(0,b)
turtle.goto(0,0)
turtle.penup()
turtle.goto(100,0)
1) прямоугольник, второй вариант:
turtle.forward(l)
turtle.left(90)
turtle.forward(b)
2) птичка
turtle.goto(50,-20)
turtle.goto(0,30)
turtle.goto(-10,30)
turtle.goto(-15,25)
turtle.goto(-10,20)
turtle.goto(-10,0)
turtle.goto(0,-10)
turtle.goto(20,-15)
turtle.goto(35,-15)
1) прямоугольник, первый вариант:
import turtle
b=40
l=b+20
turtle.shape('turtle')
turtle.goto(l,0)
turtle.goto(l,b)
turtle.goto(0,b)
turtle.goto(0,0)
turtle.penup()
turtle.goto(100,0)
1) прямоугольник, второй вариант:
import turtle
b=40
l=b+20
turtle.shape('turtle')
turtle.forward(l)
turtle.left(90)
turtle.forward(b)
turtle.left(90)
turtle.forward(l)
turtle.left(90)
turtle.forward(b)
turtle.penup()
turtle.forward(b)
2) птичка
import turtle
turtle.shape('turtle')
turtle.goto(50,-20)
turtle.goto(0,30)
turtle.goto(-10,30)
turtle.goto(-15,25)
turtle.goto(-10,20)
turtle.goto(-10,0)
turtle.goto(0,-10)
turtle.goto(20,-15)
turtle.goto(35,-15)
turtle.goto(50,-20)
turtle.penup()
turtle.goto(100,0)