1. 首页
  2. 编程语言
  3. Python
  4. m1.七彩蟒蛇绘制.py

m1.七彩蟒蛇绘制.py

上传者: 2020-07-19 18:30:38上传 PY文件 370B 热度 14次
#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
用户评论