# 给一个圆形填充蓝色 circle
import turtle as t
def face():
"""画脸"""
t.shape("turtle")
t.color("black")
t.fillcolor("blue")
t.begin_fill()
t.circle(150)
t.end_fill()
t.fillcolor("white")
t.begin_fill()
t.circle(120)
t.end_fill()
def eye():
# 抬笔
t.up()
t.left(90)
t.fd(240)
t.down()
t.fillcolor("white")
t.begin_fill()
t.circle(30)
t.end_fill()
# 点 dot
t.dot(20)
t.speed(0)
face()
eye()
t.done()
ziheng - 多啦A梦
猜你喜欢
转载自blog.csdn.net/houlaos/article/details/104511068
今日推荐
周排行