FF PP ZZ by hallvabo

b=input()
r=range
R=r(1,b)
T=r(48,58)+r(65,91)
for i in R:print''.join(' %c%%c'%([32]+T[1:])[i*j/b]%T[i*j%b]for j in R)

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

download

return top