Magic square by primo (yvl)

j=x=input()
while j:i=j+x/2;exec"'%3s'%(1+-i%x+(j-i*2)%x*x),;i+=1;print"*-~x;j-=1

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

download

return top