Multiplication table by xsot

r=range(input()+1)\x0d
for i in r:print''.join('%-4d'%(i*j or i+j)for j in r).strip()

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

download

return top