I want to make a code for concentric squares using python 3 and the while statement, but couldn't quite get it right. A little help? Thanks! Okay, here is my attempt:
import turtle
t = turtle.Turtle()
x=0
y=0
z=0
a=-0
b=0
c=-0
d=0
e=0
while x < 100:
t.pendown()
x=x-10
y=y+10
t.goto(x,y)
z=z-10
a=a-10
t.goto(z,a)
b=b+10
c=c-10
t.goto(b,c)
d=d+10
e=e+10
t.goto(d,e)
t.setposition(x,y)
turtle.done()
I wanted to use a while for this, so yeah... Thanks!

