Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In your dropbox for Homework-08, you will find a file called Gettysburg.txt Write a program that reads the file's contents and determines the following The
In your dropbox for Homework-08, you will find a file called Gettysburg.txt Write a program that reads the file's contents and determines the following The number of uppercase letters in the file The number of lowercase letters in the file The number of digits in the file The number of whitespace characters in the file The number of non alphanumeric characters in the file For this particular part, there isn't a ready made function for you to use, so you will have to create a function that will do this. For the purposes of this program you may define a non-alphanumeric character as any character that isn't an alphanumeric character and that isn't a whitespace character. Call your program: YourName-Hwrk8A.py. Be sure to print your name to the screen along with your output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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 Started