##小黄人
import turtle # 调用turtle
turtle.setup(800,800)
turtle.speed(0)
turtle.up()
turtle.goto((150,150))
turtle.down()
turtle.left(90)
#身体
turtle.fillcolor('yellow')
turtle.begin_fill()
turtle.circle(150,180)
turtle.fd(300)
turtle.circle(150,180)
turtle.fd(300)
turtle.end_fill()
#两个大眼睛(黑)
turtle.up()
turtle.goto((0,150))
turtle.down()
turtle.width(5)
turtle.fillcolor('#ffffff')
turtle.begin_fill()
turtle.circle(40)
turtle.left(180)
turtle.circle(40)
turtle.end_fill()
#左边眼球(黑)
turtle.up()
turtle.goto((-30,150))
turtle.left(180)
turtle.down()
turtle.width(0)
turtle.fillcolor('#000000')
turtle.begin_fill()
turtle.circle(20)
turtle.end_fill()
#左边瞳孔(白)
turtle.fillcolor('#ffffff')
turtle.begin_fill()
turtle.circle(8)
turtle.end_fill()
#右边眼球(黑)
turtle.up()
turtle.goto((50,150))
turtle.down()
turtle.fillcolor('#000000')
turtle.begin_fill()
turtle.circle(20)
turtle.end_fill()
#右边瞳孔(白)
turtle.fillcolor('#ffffff')
turtle.begin_fill()
turtle.circle(8)
turtle.end_fill()
#右边黑色条框
turtle.up()
turtle.goto((80,160))
turtle.left(90)
turtle.down
turtle.fillcolor('#000000')
turtle.begin_fill()
turtle.circle(10,180)
turtle.fd(70)
turtle.circle(10,180)
turtle.fd(70)
turtle.end_fill()
#左边黑色条框
turtle.up()
turtle.goto((-150,160))
turtle.down
turtle.fillcolor('#000000')
turtle.begin_fill()
turtle.circle(10,180)
turtle.fd(70)
turtle.circle(10,180)
turtle.fd(70)
turtle.end_fill()
#嘴巴
turtle.up()
turtle.goto((-50,50))
turtle.down()
turtle.width(2)
turtle.pencolor('red')
turtle.left(135)
turtle.circle(80,100)
#裤子(不含吊带和口袋)
turtle.up()
turtle.left(35)
turtle.goto(150,-170)
turtle.pencolor('black')
turtle.down()
turtle.fillcolor('#3c78d8')
turtle.begin_fill()
turtle.fd(10)
turtle.left(90)
turtle.fd(50)
turtle.right(90)
turtle.fd(50)
turtle.left(90)
turtle.fd(200)
turtle.left(90)
turtle.fd(50)
turtle.right(90)
turtle.fd(50)
turtle.left(90)
turtle.fd(10)
turtle.circle(150,180)
turtle.end_fill()
#口袋
turtle.up()
turtle.goto(50,-150)
turtle.down()
turtle.left(90)
turtle.fd(100)
turtle.left(90)
turtle.fd(20)
turtle.circle(50,180)
turtle.fd(20)
#右吊带
turtle.up()
turtle.goto(150,-35)
turtle.down()
turtle.fillcolor('#3c78d8')
turtle.begin_fill()
turtle.goto(95,-110)
turtle.right(135)
turtle.fd(10)
turtle.goto(150,-50)
turtle.end_fill()
#左吊带
turtle.up()
turtle.goto(-150,-35)
turtle.down()
turtle.fillcolor('#3c78d8')
turtle.begin_fill()
turtle.goto(-95,-110)
turtle.right(90)
turtle.fd(10)
turtle.goto(-150,-50)
turtle.end_fill()
#四根毛(从右到左)
turtle.up()
turtle.home()
turtle.goto(20,300)
turtle.down()
turtle.left(85)
turtle.fd(80)
turtle.up()
turtle.home()
turtle.goto(5,300)
turtle.down()
turtle.left(88)
turtle.fd(65)
turtle.up()
turtle.home()
turtle.goto(-10,300)
turtle.down()
turtle.left(92)
turtle.fd(70)
turtle.up()
turtle.home()
turtle.goto(-20,300)
turtle.down()
turtle.left(97)
turtle.fd(80)
turtle.mainloop()