代码:
#PythonDraw.py
import turtle as t
t.bgcolor("green")
t.setup(800, 400, 400, 200)
t.up()
t.fd(-300)
t.down()
t.pensize(30)
t.pencolor("black")
t.seth(-30)
t.up()
t.down()
for i in range(3):
t.pencolor("black")
t.pensize(30)
t.circle(30, 120)
t.circle(-30, 120)
t.pencolor("white")
t.circle(-30,190)
for i in range(3):
t.circle(40, 60)
t.circle(-40, 60)
t.circle(-30, 180)
for i in range(3):
t.pencolor("yellow")
t.pensize(30)
t.circle(40, 80)
t.circle(-40, 80)
t.circle(40, 180)
t.pencolor("black")
t.circle(4, 80/2)
t.fd(40)
t.pencolor("white")
t.circle(16, 180)
t.done()
无聊的图画
最新推荐文章于 2024-11-12 21:14:07 发布