#Square_Screw.py[螺旋式正方形]
from turtle import *
pensize(3)
bgcolor('black')
colormode(255)
pencolor((51,204,120))
for i in range(100):
fd(i + (i * 2))
left(90)
hideturtle()
done()
![](https://i-blog.csdnimg.cn/blog_migrate/21d90ce231a097755b63ca10395d25c0.png)
#Square_Screw.py[螺旋式正方形]
from turtle import *
pensize(3)
bgcolor('black')
colormode(255)
pencolor((51,204,120))
for i in range(100):
fd(i + (i * 2))
left(90)
hideturtle()
done()