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
- 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
- Also, ask user if user wants to repeat and depends on the answer, your program needs to terminate or repeat.
- 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.
- Do not read the entire file into the memory using read; method. Only use file handle to access it.
- 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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended 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
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App