r=range(13) r+=r[-2::-1] for i in r:print'',' '.join(chr(89-i-j)for j in r)

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

download

return top