Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Database Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

Students also viewed these Databases questions

Question

How would we like to see ourselves?

Answered: 1 week ago