Question: use python >>> fin = open('words.txt') Write a program that reads words.txt , counting all occurrences of each different vowel, i.e., all the a's, all
use python
>>> fin = open('words.txt')
Write a program that reads words.txt , counting all occurrences of each different vowel, i.e., all the a's, all the e's, all the i's, all the o's, all the u's, and then outputting your totals You should make sure to have a copy of words.txt in the same folder where you are creating the programm This program is well-suited for solution via Python dictionaries, but we have not studied those yet, so you are not allowed to use them. Use only what we've studied in Chapters 1-9. You do not have to worry about case-insensitivity for this program. (For one thing, all the words in words.txt are entirely lowercase!) 11 points for correctness, 1 point for elegant code. To submit your program, upload your Python file My program's output is: Total a's:68582 Total e's: 106758 Total i's:77412 Total o's 54542 Total u's: 31161
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
