FF PP ZZ by Logan

import sys
g=lambda v:v<10and str(v)or chr(55+v)
def f(l):
 o=''
 l=int(l)
 r=range(1,l)
 for x in r:
  for y in r:
   z=x*y
   a=z/l
   o+=(y and' 'or'')+(a and g(a)or' ')+g(z%l)
  o+='\n'
 print o
map(f,sys.stdin)

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

download

return to the top page