100 by eban

puts:zero,a="one
two
three
four
five
six
seven
eight
nine","ten
eleven
twelve",[b=%w"thir fo%sr fif six seven eigh nine",p]*"teen
"%:u,["twen",*b].map{|i|[i=i%p+"ty",[p,*a]*i+=" "]},'one hundred'

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

download

return to the top page