## 100 by rickrickrick

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

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

download

return to the top page