Looped grid by leonid

l=n=input()
exec('\nl+=~n;0'+',;l+=1;print-~abs(l)'*n)*n

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

download

return to the top page