box in box by recursive (solus)

t=['\n']*1721
s=0
w=8
while w:
 r=range(41-2*s)
 for y in r:
\x09for x in r:t[y*42+s*43+x]=['  ','[]'][x%w*(y%w)<1]
 s+=w;w-=2
print''.join(t)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page