用python作画
作者:互联网
from turtle import *
setup(850,800,500,500)
penup()
fd(-100)
pendown()
pensize(25)
pencolor("")
seth(-40)
for i in range(8):
pencolor("blue")
circle(100, 180)
pencolor("red")
circle(-70, 360)
pencolor("yellow")
circle(60, 120)
circle(20, 40/2)
fd(50)
circle(0, 180)
fd(40 * 2/3)
done()
标签:python,作画,pencolor,180,fd,40,circle,500 来源: https://blog.csdn.net/naxingyidao/article/details/121309569