subject

The letters a, e, i, o and u are the only vowels. write a function named vowelusedict() takes a string t as a parameter and computes and returns a dictionary with the number of words in t containing each vowel. assume that the given text contains only lower case letters and white space. input: t, a string consisting of lower case letters and white space return: a dictionary in which each vowel is a key and its value is the number of words containing that vowel for example, the following would be correct output. text = 'like a vision she dances across the porch as the radio plays' print(vowelusedict(text)) {'e': 5, 'u': 0, 'o': 4, 'a': 6, 'i': 3}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:50
The file sales data.xlsx contains monthly sales amounts for 40 sales regions. write a sub that uses a for loop to color the interior of every other row (rows 3, 5, etc.) gray. color only the data area, columns a to m. (check the file colors in excel.xlsm to find a nice color of gray.)
Answers: 2
question
Computers and Technology, 23.06.2019 01:30
Which tab is used to change the theme of a photo album slide show? a. design b. view c. transitions d. home
Answers: 1
question
Computers and Technology, 23.06.2019 03:30
How can you repin an image on your pinterest pin board a. click on the "repin" button b. click on the "add pin" button c. click on the "upload a pin" button d. click on the "save pin" button.
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
You know the right answer?
The letters a, e, i, o and u are the only vowels. write a function named vowelusedict() takes a stri...
Questions
question
History, 07.10.2019 05:30
Questions on the website: 13722360