45 lines
594 B
Python
45 lines
594 B
Python
import turtle
|
|
t=turtle.Turtle()
|
|
t.begin_fill()
|
|
t.color('blue')
|
|
t.circle(100)
|
|
t.filling()
|
|
t.end_fill()
|
|
t.begin_fill()
|
|
t.color('white')
|
|
t.circle(80)
|
|
t.filling()
|
|
t.end_fill()
|
|
t.penup()
|
|
t.goto(0,90)
|
|
t.pendown()
|
|
t.begin_fill()
|
|
t.color('red')
|
|
t.circle(15)
|
|
t.filling()
|
|
t.end_fill()
|
|
t.pencolor('black')
|
|
t.right(90)
|
|
t.forward(60)
|
|
t.penup()
|
|
t.backward(125)
|
|
t.pendown()
|
|
t.begin_fill()
|
|
t.circle(15)
|
|
t.fillcolor('white')
|
|
t.filling()
|
|
t.end_fill()
|
|
t.penup()
|
|
t.left(90)
|
|
t.forward(2)
|
|
t.right(90)
|
|
t.pendown()
|
|
t.begin_fill()
|
|
t.circle(8)
|
|
t.fillcolor('black')
|
|
t.end_fill()
|
|
t.begin_fill()
|
|
t.circle(5)
|
|
|
|
turtle.done()
|