Multiplication table by govind

z=input()
for i in range(z+1):s=`i`.ljust(4);i+=(i<1);n=i;exec"s+=(`n`+' ').ljust(4);n+=i;"*z;print s.rstrip()

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

download

return to the top page