Four is the number of letters in the ...: Difference between revisions
Content added Content deleted
Line 167: | Line 167: | ||
=={{header|Julia}}== |
=={{header|Julia}}== |
||
The functions num2text and numtext2ordinal are from the "Spelling of ordinal numbers" |
The functions num2text and numtext2ordinal are from the "Spelling of ordinal numbers" and "Number names" tasks, |
||
as updated for Julia 1.0.<lang julia>using DataStructures # for deque |
|||
const seed = "Four is the number of letters in the first word of this sentence, " |
const seed = "Four is the number of letters in the first word of this sentence, " |
||
Line 228: | Line 228: | ||
10000000 words -> 10000000 iterations, 71103026 letters total, last word "thousand" with 8 letters. |
10000000 words -> 10000000 iterations, 71103026 letters total, last word "thousand" with 8 letters. |
||
</pre> |
</pre> |
||
=={{header|Kotlin}}== |
=={{header|Kotlin}}== |