Count how many vowels and consonants occur in a string: Difference between revisions

→‎{{header|Python}}: Updated output
(→‎{{header|Haskell}}: Updated output in second variant)
(→‎{{header|Python}}: Updated output)
Line 574:
print(showCharCounts(vs))
print(f'\n\t{nc} characters drawn from {len(cs)} consonants:')
print(showCharCounts(vscs))
 
 
Line 648:
 
21 characters drawn from 9 consonants:
('aF', 42)
('eg', 34)
('il', 1)
('om', 32)
('un', 13)</pre>
('p', 1)
('r', 6)
('t', 1)
('v', 1)</pre>
 
=={{header|Raku}}==
9,655

edits