Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

Heres a Python program that accomplishes the tasks you described python def countcharsfilename try w... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions

Question

Find the maximum of f(x,y) = x + y - x - y - xy

Answered: 1 week ago