while 1: j=range(int(float(input())*2+1)) for i in j:print(*[[0,k*j[-k]][i+1==k] for k in j])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page