Looped grid by rolf

n=input()
for j in range(n):exec'print abs(j)+1,;j-=1;'*n;print

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

download

return to the top page