Question: Programing language: python Write a program that counts the number of each vowel (a, e, i, o, u, y) in the text file dataFile.txt (i.e.,

Programing language: python

Write a program that counts the number of each vowel (a, e, i, o, u, y) in the text file dataFile.txt (i.e., the number of as, the number of es, etc.). Recall that you can loop over each character in a string by using a for loop, such as:

 for character in lineOfTextFromFile: print character 

print 'done'

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!