100 by murky-satyr

p=print
n={'one','two','three','four','five','six','seven','eight','nine','ten','eleven','twelve',p'zero','fourteen'}t={'ty','twen','thir','for','fif',n[6],n[7],'eigh',n[9]}for i=1,99 do
m=i%10
p(n[i]or i<20 and t[m]..'teen'or t[(i-m)/10]..(t[0^m]or'ty ')..(n[m]or''))end
p'one hundred'

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

download

return to the top page