Question: Using a dictionary comprehension, make a dictionary with the keys being the lowercase vowels ( aeiou ) and the values being the number of vowels
Using a dictionary comprehension, make a dictionary with the keys being the lowercase vowels aeiou and the values being the number of vowels in the exampletext case insensitive Fill in a dictionary comprehension below so that we get this desired output.
exampletext 'Outlook is bright!
expected output:
i: o: u:
or
a: e: i: o: u: exampletext "I love coding in python!"
# a Your code here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
