Looped grid by mypetlion

b,*a=range(int(input())+1)
for x in a:print(*a);*a,z=[x+1]+a

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

download

return to the top page