main.py
1
2
3
4
5
6
7
8
9
import turtle
size = 3
while size < 1000:
    counter = 0
    while counter < size:
        turtle.forward(5)
        turtle.left(360.0/size)
        counter += 1
    size += 1
result
console