Anonymous user
Four is the number of letters in the ...: Difference between revisions
Four is the number of letters in the ... (view source)
Revision as of 00:01, 3 January 2021
, 3 years agoUpdated output.
(Updated the output.) |
(Updated output.) |
||
Line 1,258:
valcount = 0
echo fmt"
#---------------------------------------------------------------------------------------------------
Line 1,274:
let w = word.strip(leading = false, chars = {','}) # Remove trailing ',' if needed.
echo fmt"Word {pos} is ""{w}"" with {w.count(Letters)} letters."
echo fmt"Length of
break
Line 1,303:
181: 10 5 2 3 11 4 2 3 10 4 2 3
193: 10 3 2 3 12 5 2 3 11
Word 1000 is "in" with 2 letters.
Length of
Word 10000 is "in" with 2 letters.
Length of
Word 100000 is "one" with 3 letters.
Length of
Word 1000000 is "the" with 3 letters.
Length of
Word 10000000 is "thousand" with 8 letters.
Length of
=={{header|Perl}}==
|