用Python画出笑脸

from turtle import *
penup()
goto(0,-200)
pendown()
circle(200)

penup()
goto(-100,50)
pendown()
begin_fill()
circle(17.5)
end_fill()

penup()
goto(100,50)
pendown()
begin_fill()
circle(17.5)
end_fill()

penup()
goto(0,50)
pendown()
circle(-70,steps=3)

penup()
goto(-150,-70)
pendown()
right(15)
goto(0,-170)
goto(150,-70)

hideturtle()

posted @ 2015-05-01 22:39  人工智障搬运工  阅读(10265)  评论(0编辑  收藏  举报