import
turtle
t
=
turtle.Turtle()
screen
=
turtle.Screen()
screen.bgcolor(
"sky blue"
)
def
draw_circle(color, radius, x, y):
t.penup()
t.fillcolor (color)
t.goto (x, y)
t.pendown()
t.begin_fill()
t.circle (radius)
t.end_fill()
draw_circle (
"#ffffff"
,
30
,
0
,
-
40
)
draw_circle (
"#ffffff"
,
40
,
0
,
-
100
)
draw_circle (
"#ffffff"
,
60
,
0
,
-
200
)
draw_circle (
"#ffffff"
,
2
,
-
10
,
-
10
)
draw_circle (
"#ffffff"
,
2
,
10
,
-
10
)
draw_circle (
"#FF6600"
,
3
,
0
,
-
15
)
draw_circle (
"#ffffff"
,
2
,
0
,
-
35
)
draw_circle (
"#ffffff"
,
2
,
0
,
-
45
)
draw_circle (
"#ffffff"
,
2
,
0
,
-
55
)
def
create_line(x, y, length, angle):
t.penup()
t.goto(x, y)
t.setheading(angle)
t.pendown()
t.forward(length)
t.setheading(angle
+
20
)
t.forward(
20
)
t.penup()
t.back(
20
)
t.pendown()
t.setheading(angle
-
20
)
t.forward(
20
)
t.penup()
t.home()
create_line(
-
70
,
-
50
,
50
,
160
)
create_line(
70
,
-
50
,
50
,
20
)
t.penup()
t.goto (
-
35
,
8
)
t.color (
"black"
)
t.pensize (
6
)
t.pendown()
t.goto (
35
,
8
)
t.goto (
30
,
8
)
t.fillcolor (
"black"
)
t.begin_fill()
t.left (
90
)
t.forward (
15
)
t.left (
90
)
t.forward (
60
)
t.left (
90
)
t.forward (
15
)
t.end_fill()