Question: Python 3.6 Question 13 Write a function named vowelContent) with the following input and output: Input: a list parameter, wordList. The characters in the words

Python 3.6

Python 3.6 Question 13 Write a function named vowelContent) with the following

Question 13 Write a function named vowelContent) with the following input and output: Input: a list parameter, wordList. The characters in the words in wordList are all lower case letters. Return: a dictionary consisting of three key/value pairs. The keys are the strings 'mostly vowels', 'mostly consonants' and 'half vowels'. The value of each keys, respectively, is a list of words (without duplicates) consisting of, respectively, words in wordList that are more than half vowels, less than half vowels, and exactly half vowels. Vowels are the letters 'a', 'e', T, 'o', and 'u For example, the following would be correct output. 'a', 'death', .trap', ts. .a', out', while 'were 'young' 'suicide', wList = [its', gotta'get 'rap', 'we', print (vowelContent(wList)) ('half vowels'we 'were' mostly consonants'[its' 'death, 'trap rap, 'gotta', 'get, 'whil young, mostly vowels 'a 'suicide out 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!