R=range(1,13) for x in R:print" ".join("%3i"%(x*y)for y in R)

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

download

return top