import turtle as t
# 大圆
t.pensize(10)
t.circle(100)
t.up()
t.goto(0,100)
t.down()
t.pensize(1)
t.dot(10)
# 横线
t.up()
t.goto(-150,100)
t.down()
t.fd(300)
# 竖线
t.up()
t.goto(0,-50)
t.down()
t.left(90)
t.fd(300)
# 小圆
t.right(90)
t.up()
t.goto(0,50)
t.down()
for i in range(4):
t.circle(50,22.5)
#t.up()
#t.circle(50,45)
#t.down()
t.pencolor("white")
t.circle(50,45)
t.pencolor("black")
t.circle(50,22.5)
deqin -turtle画笔
最新推荐文章于 2020-09-13 13:44:23 发布