Question: Your program will take a file name from user and find out following information and display it. Number of lines, number of vowels, number of

  1. Your program will take a file name from user and find out following information and display it. Number of lines, number of vowels, number of consonants, and number of numerical characters
  2. Also, ask user if user wants to repeat and depends on the answer, your program needs to terminate or repeat.
  3. If user enters wrong information  your program needs to display message and ask for correct Input. Your program should not generate traceback message with any Input. 
  4. Do not read the entire file into the memory using read; method. Only use file handle to access it. 
  5. Your program's output should be exactly same or very close to the sample output provided. Output should be formatted to match the sample output provided or points will be deducted

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Python program that accomplishes the tasks you described python def countcharsfilename try w... View full answer

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!