Question: Write a function named mostVows that analyzes each word on a line and determines what the highest amount of vowels in a single word is,

 Write a function named mostVows that analyzes each word on a

Write a function named mostVows that analyzes each word on a line and determines what the highest amount of vowels in a single word is, and writes that number to a corresponding line of a new file. If no vowels were found, 0 will be written. Note: vowels are a,,i,0,u,A,E,I,O, and U. The function mostVows takes two parameters: inFile, a string which is the name of an existing text file for input, and outFile, a string which is the name of a text file for output which linestots will create and write to. The contents of infile are only upper/lowercase letters and white space: no punctuation or other special characters. def (inFile, outFile): for ch in word: If ch in voweIs: InF.elose()

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!