Question: Create a Python program file called Ch 0 7 - 1 _ Name.py . ( Replace Name with your initial of first name and first

Create a Python program file called Ch07-1_Name.py.(Replace Name with your initial of first name and first 5 letters of last name. If your last name is shorter than 5 letters, just use full last name, it doesn't have to be 5 letters. i.e. if your name is John Doe, your file name should be Ch07-1_JDoe.py)
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 (wrong name of the file or non-existing file name), 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 (up to 8 points).
Sample files:
sample1.txtDownload sample1.txt
Course Objectives:
By the end of the class, students will be able to:
a. Identify basic programming concepts.
b. Demonstrate and understand the basic building blocks of a program.
c. Describe program development lifecycle.
d. Demonstrate a basic understanding and uses of Machine, Assembly, High-Level, Database,Scripting and Web Page Programming languages.
e. Use primitive data types and data structures offered by the development environment.
f. Choose an appropriate data structure for modeling a simple problem.
g. Write simple applications that relate to a specific domain.
h. Design, implement, test, and debug a program that uses each of the following fundamentalprogramming constructs: basic computation, simple I/O, standard conditional and iterative structures,and the definition of functions.
i. Test applications with sample data.
j. Apply core program control structures.
k. Create simple web pages using HTML and CSS.
l. Create simple databases using SQL.
sample2.txtDownload sample2.txt
CIS 12, Fall 2019(Section 75795)
Instructor: Mr. Jason Y. Huh
Office: IT212
Phone: x7506
Email: jyhuh@pasadena.edu (Recommend to use canvas email)
Class meeting time:
Mon. 8:35pm -10:40pm (R206)
Office Hours:
Mon. : 5:15PM -6:15PM (R206)
Wed. : 5:00PM -6:30PM (IT212)
Thur. : 9:30AM -11:30AM (Online)
Sat. : 8:00AM-9:00AM (IT212)
Textbook:
Python for Everybody: Exploring Data in Python 3
ISBN-10: 9781530051120
ISBN-13: 978-1530051120
Or PDF version of the book can be downloaded from this link:

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 Programming Questions!