Объявления сайта

Би-би

Би-би

by Alena Yamkina -
Number of replies: 0


import turtle
t = turtle.Turtle()
t.shape('turtle')
t.speed(0)

t.color('gray')
t.fillcolor('blue')

t.up()
t.goto(0,0)
t.down()

t.begin_fill()
t.goto(0,160)
t.goto(280,160)
t.goto(280,0)
t.goto(0,0)
t.end_fill()

t.up()
t.goto(140,150)
t.down()
t.begin_fill()
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.forward(100)
t.left(90)
t.end_fill()

t.up()
t.goto(190,170)
t.down()
t.fillcolor('white')
t.begin_fill()
t.forward(20)
t.left(90)
t.forward(70)
t.left(90)
t.forward(20)
t.left(90)
t.forward(70)
t.left(90)
t.end_fill()

t.up()
t.goto(80,-50)
t.down()
t.fillcolor('gray')
t.begin_fill()
t.circle(50)
t.end_fill()
t.up()
t.goto(210,-50
t.down()
t.fillcolor('gray')
t.begin_fill()
t.circle(50)
t.end_fill()

t.hideturtle()
turtle.done()