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

1. Create a Python program file called Ch09-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 Ch09-1_JDoe.py)
2. Your program will take a file name from the user and find out occurrences of characters in the file. Upper and lower case characters need to be counted as different characters for this assignment. Only space character needs to be counted that is not alphabets. No other special characters should be counted. You need to use Python Dictionary for this assignment.
If user enters wrong information (wrong or non-existing file name), your program needs to display the message informing about it and ask for correct input. Your program should not generate the traceback message for any input.
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).

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!