m1.七彩蟒蛇绘制.py
#Pyhon绘制七彩蟒蛇 import turtle turtle.setup(650,350,200,200) turtle.fd(-250) turtle.pensize(25) turtle.pencolor("purple") c=["red","yellow","green","blue"] turtle.seth(-40) for i in range(4): turtle.pencolor(c[i]) turtle.circle(40,80) turtle.circle(-40,80) turtle.circle(40,80/2) turtle.fd(40
用户评论