import turtle as t
import os
t.speed(10)
t.fillcolor(“blue”)
t.begin_fill()
t.circle(120)
t.end_fill()
t.fillcolor(“white”)
t.begin_fill()
t.circle(100)
t.end_fill()
t.pu()
t.goto(0,134)
t.pd()
t.fillcolor(“red”)
t.begin_fill()
t.circle(18)
t.end_fill()
t.pu()
t.goto(-30,160)
t.pd()
t.begin_fill()
t.fillcolor(“white”)
a=0.4
for i in range (120):
if 0<=i<30 or 60<=i<90:
a=a+0.08
t.lt(3)
t.fd(a)
else:
a=a-0.08
t.lt(3)
t.fd(a)
t.end_fill()
t.pu()
t.goto(30,160)
t.pd()
t.begin_fill()
t.fillcolor(“white”)
a=0.4
for i in range (120):
if 0<=i<30 or 60<=i<90:
a=a+0.08
t.lt(3)
t.fd(a)
else:
a=a-0.08
t.lt(3)
t.fd(a)
t.end_fill()
t.pu()
t.goto(-20,185)
t.pd()
t.begin_fill()
t.fillcolor(“black”)
t.circle(13)
t.end_fill()
t.pu()
t.goto(20,185)
t.pd()
t.begin_fill()
t.fillcolor(“black”)
t.circle(13)
t.end_fill()
t.pu()
t.goto(13,190)
t.pd()
t.begin_fill()
t.fillcolor(“white”)
t.circle(5)
t.end_fill()
t.pu()
t.goto(-13,190)
t.pd()
t.begin_fill()
t.fillcolor(“white”)
t.circle(5)
t.end_fill()
t.left(10)
for i in range (3):
t.pu()
t.goto(0,120-i*10)
t.pd()
t.fillcolor(“black”)
t.fd(80)
t.seth(170)
for i in range (3):
t.pu()
t.goto(0,120-i*10)
t.pd()
t.fillcolor(“black”)
t.fd(80)
t.pu()
t.goto(0,130)
t.pd()
t.seth(270)
t.fd(40)
t.pu()
t.goto(-70,80)
t.pd()
t.seth(0)
t.fd(140)
t.seth(270)
t.begin_fill()
t.fillcolor(“red”)
t.circle(-70,180)
t.end_fill()
t.seth(270)
t.begin_fill()
t.fillcolor(“pink”)
t.circle(35,90)
t.fd(70)
t.circle(35,90)
t.end_fill()
t.seth(180)
t.fd(140)
#脸部
t.pu()
t.goto(80,32)
t.pd()
t.begin_fill()
t.fillcolor(“blue”)
t.seth(-225)
t.circle(135,-100)
t.seth(180)
t.fd(125)
t.seth(145)
t.circle(-135,100)
t.seth(-45)
t.circle(110,100)
t.end_fill()
t.pu()
t.goto(0,-150)
t.pd()
t.begin_fill()
t.fillcolor(“white”)
t.seth(0)
t.circle(70)
t.end_fill()
t.pu()
t.goto(-50,-80)
t.pd()
t.fd(100)
t.seth(270)
t.circle(-50,180)
#身体
t.pu()
t.goto(80,32)
t.pd()
t.seth(-225)
t.circle(135,-20)
t.seth(30)
t.fd(100)
t.begin_fill()
t.fillcolor(“blue”)
t.pu()
t.goto(80,32)
t.pd()
t.seth(-225)
t.circle(135,-30)
t.seth(30)
t.fd(100)
t.end_fill()
t.seth(150)
t.circle(-20)
#右手
t.pu()
t.goto(-80,32)
t.pd()
t.seth(225)
t.circle(135,20)
t.seth(150)
t.fd(100)
t.begin_fill()
t.fillcolor(“blue”)
t.pu()
t.goto(-80,32)
t.pd()
t.seth(225)
t.circle(135,30)
t.seth(150)
t.fd(100)
t.end_fill()
t.seth(30)
t.circle(20,360)
#左手
t.pu()
t.goto(-35,-175)
t.pd()
t.begin_fill()
t.fillcolor(“blue”)
t.seth(270)
t.fd(55)
t.rt(90)
t.fd(55)
t.rt(90)
t.fd(85)
t.end_fill()
t.pu()
t.goto(-35,-230)
t.pd()
t.seth(0)
t.circle(-20,180)
t.fd(55)
t.circle(-20,180)
#左腿
t.pu()
t.goto(35,-175)
t.pd()
t.begin_fill()
t.fillcolor(“blue”)
t.seth(270)
t.fd(55)
t.lt(90)
t.fd(55)
t.lt(90)
t.fd(85)
t.end_fill()
t.pu()
t.goto(90,-230)
t.pd()
t.seth(0)
t.circle(-20,180)
t.fd(55)
t.circle(-20,180)
#右腿
t.pu()
t.goto(0,-5)
t.pd()
t.begin_fill()
t.fillcolor(“yellow”)
t.circle(-20)
t.end_fill()
t.pu()
t.goto(0,-45)
t.pd()
t.seth(90)
t.fd(10)
t.seth(0)
t.begin_fill()
t.fillcolor(“black”)
t.circle(10)
t.end_fill()
t.pu()
t.goto(0,-2.5)
t.pd()
t.circle(120,40)
t.pencolor(“red”)
t.pensize(10)
t.circle(120,-80)
t.pu()
t.goto(300,300)
os.system(“pause”)