113 lines
1.3 KiB
Python
113 lines
1.3 KiB
Python
|
import turtle
|
||
|
t=turtle.Turtle()
|
||
|
|
||
|
t.speed(20)
|
||
|
t.pensize(3)
|
||
|
|
||
|
t.color("blue","blue")
|
||
|
t.goto(0,0)
|
||
|
t.circle(150)
|
||
|
t.begin_fill()
|
||
|
t.circle(150)
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color("white","white")
|
||
|
t.circle(120)
|
||
|
t.begin_fill()
|
||
|
t.circle(120)
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color('black','white')
|
||
|
t.penup()
|
||
|
t.goto(-40,200)
|
||
|
t.pendown()
|
||
|
t.begin_fill()
|
||
|
t.circle(34)
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color('black','white')
|
||
|
t.penup()
|
||
|
t.goto(40,200)
|
||
|
t.pendown()
|
||
|
t.begin_fill()
|
||
|
t.circle(34)
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color("red","red")
|
||
|
t.penup()
|
||
|
t.goto(4,140)
|
||
|
t.pendown()
|
||
|
t.begin_fill()
|
||
|
t.circle(20)
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color('black')
|
||
|
t.penup()
|
||
|
t.goto(26,220)
|
||
|
t.pendown()
|
||
|
t.begin_fill()
|
||
|
t.circle(14)
|
||
|
t.fillcolor('black')
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color('black')
|
||
|
t.penup()
|
||
|
t.goto(-30,220)
|
||
|
t.pendown()
|
||
|
t.begin_fill()
|
||
|
t.circle(14)
|
||
|
t.fillcolor('black')
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color('white')
|
||
|
t.penup()
|
||
|
t.goto(26,235)
|
||
|
t.pendown()
|
||
|
t.begin_fill()
|
||
|
t.circle(3)
|
||
|
t.fillcolor('white')
|
||
|
t.end_fill()
|
||
|
|
||
|
|
||
|
t.color('white')
|
||
|
t.penup()
|
||
|
t.goto(-30,235)
|
||
|
t.pendown()
|
||
|
t.begin_fill()
|
||
|
t.circle(3)
|
||
|
t.fillcolor('white')
|
||
|
t.end_fill()
|
||
|
|
||
|
t.color('black')
|
||
|
t.penup()
|
||
|
t.goto(-50,50)
|
||
|
t.pendown()
|
||
|
t.setheading(-30)
|
||
|
t.circle(90,90)
|
||
|
|
||
|
|
||
|
t.penup()
|
||
|
t.goto(23,120)
|
||
|
t.right(25)
|
||
|
t.pendown()
|
||
|
t.forward(75)
|
||
|
t.penup()
|
||
|
t.goto(23,115)
|
||
|
t.right(25)
|
||
|
t.pendown()
|
||
|
t.forward(75)
|
||
|
t.penup()
|
||
|
t.goto(23,110)
|
||
|
t.right(25)
|
||
|
t.pendown()
|
||
|
t.forward(75)
|
||
|
|
||
|
t.hideturtle()
|
||
|
turtle.done()
|