#PythonDraw.py
import turtle
turtle.setup(650, 350, 200, 200)
turtle.penup()
turtle.fd(-250)
turtle.pendown ()
turtle.pensize(25)
turtle.pencolor("grey") #选择自己喜欢的颜色
turtle.seth(-40)
for i in range (2):
turtle.circle (40, 80)
turtle.circle(-40, 80)
turtle.circle(40, 80/2)
turtle.fd(40)
turtle.circle(16, 180)
turtle.fd(40 * 2/3)
turtle.done()
python画画
最新推荐文章于 2024-08-22 22:01:15 发布