# solution_nested_squares.py
from turtle import *
pensize(4)

line_length = 100
for i in range(4):
    forward(line_length)
    left(90)

line_length = 150
for i in range(4):
    forward(line_length)
    left(90)

line_length = 200
for i in range(4):
    forward(line_length)
    left(90)

line_length = 250
for i in range(4):
    forward(line_length)
    left(90)

line_length = 300
for i in range(4):
    forward(line_length)
    left(90)

# Or you can run:
#for line_length in range(100, 350, 50):
#    for i in range(4):
#        forward(line_length)
#        left(90)
done()
