Count how many vowels and consonants occur in a string: Difference between revisions
Count how many vowels and consonants occur in a string (view source)
Revision as of 08:36, 12 September 2021
, 2 years ago→{{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(
Line 648:
21 characters drawn from 9 consonants:
('
('
('
('
('
('p', 1)
('r', 6)
('t', 1)
('v', 1)</pre>
=={{header|Raku}}==
|