n = ['zero','one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve']\x0d for a in n:print a\x0d g=['fif']+n[6:8]+['eigh','nine']\x0d for a in ['thir','four']+g:print a+'teen' \x0d for a in ['twen','thir','for']+g:\x0d j=a+'ty';print j;\x0d for b in range(9):print j+' '+n[b+1]\x0d print 'one hundred'
Note that non-ascii characters in the above source code will be escaped (such as \x9f).