Question: Define a function named get_all_alphabetic_non_vowels (words_list) which takes a list of words as a parameter and returns a dictionary. The keys of the dictionary are
Define a function named get_all_alphabetic_non_vowels (words_list) which takes a list of words as a parameter and returns a dictionary. The keys of the dictionary are all the alphabetic lowercase letters which are not vowels from any word in the parameter list. The value is the number of occurrences of the corresponding letter. Note that you will need to process each letter of each word in the list and the words need to be converted to lowercase first. For example: Test Result words_list [Amazingly', 'tremendous'] d: 1 o_dict-get_all_alphabetic_non_ vowels (words_list) #1 for key in sorteda_dict keys): 11 print(key, '', dict[key]) m 2 2. 11 51 1 y 1 Answer: (penalty regime: 0 %) Reset answer 11def get_all_alphabetic_non_vowels (words_list)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
