import turtle as t
#定位
def my_goto(x,y):
t.up()
t.goto(x,y)
t.down()
#眼睛
def eyes():
t.tracer(False)
a = 2.5
for i in range(120):
if 0
a -= 0.05
t.lt(3)
t.fd(a)
else:
a += 0.05
t.lt(3)
t.fd(a)
t.tracer(True)
#胡须
def beard(x,y,s,f):
my_goto(x, y)
t.seth(s)
t.fd(f)
#画手
def hand(s,color,c):
t.seth(s)
t.fillcolor(color)
t.begin_fill()
t.circle(c)
t.end_fill()
#画脚
def foot(x,y,s,color,f1,c1,c2,f2,c3,c4,f4):
my_goto(x, y)
t.seth(s)
t.fillcolor(color)
t.begin_fill()
t.fd(f1)
t.circle(c1, c2)
t.fd(f2)
t.circle(c3, c4)
t.fd(f4)
t.end_fill()
#头
t.p