Question: python 3, it needs to run and display like above pic Question 5 (25 points): Write a function named num VowelsInFile() that takes a filename

python 3, it needs to run and display like above pic
Question 5 (25 points): Write a function named num VowelsInFile() that takes a filename and prints the number of vowels (regardless of case) that appear in the file. As a reminder, a vowel is one of a, e, i, o, or u. File errors need to be caught (FileNotFoundError, IOError etc). >>> numVowelsInFile("Sample1.txt') a found: 2 e found: 5 i found: 7 o found: 2 u found: 1 >>> numVowelsInFile('Sample2.txt') a found: 39 e found: 35 i found: 30 o found: 35 u found: 23
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
