Many and few

Write a function @many_few(f)@ that given a list ff of nonempty strings of lowercase letters, returns two lists. The first one is formed by the words in ff that have more consonants than vowels. At the second one there are the words in ff that have at least as many vowels as consonants. The order of appearance of the words in each of the two resulting lists must preserve the original order.

Sample session

Problem information

Author: ProAl

Generation: 2026-01-25T14:05:47.610Z

© Jutge.org, 2006–2026.
https://jutge.org