Multiplication table by twobit

r=range(input()+1)
for i in r:print"".join("%-4d"%max(x*i,x,i)for x in r).strip()

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

download

return to the top page