from turtle import * r=10 d=10 n=25 speed(100) for i in range(2*n): fd(r) left(90) fd(r) left(90) r+=d done