Question: Please use Python to write program and comment and please show output. Thank you! Text file: From fairest creatures we desire increase, That thereby beauty's

Please use Python to write program and comment and please show output. Thank you!

Please use Python to write program and comment and please show output.

Thank you! Text file: From fairest creatures we desire increase, That thereby

Text file:

From fairest creatures we desire increase, That thereby beauty's rose might never die, But as the riper should by time decease, His tender heir might bear his memory: But thou contracted to thine own bright eyes, Feed'st thy light's flame with self-substantial fuel, Making a famine where abundance lies, Thy self thy foe, to thy sweet self too cruel: Thou that art now the world's fresh ornament, And only herald to the gaudy spring, Within thine own bud buriest thy content, And, tender churl, mak'st waste in niggarding: Pity the world, or else this glutton be, To eat the world's due, by the grave and thee. When forty winters shall besiege thy brow And dig deep trenches in thy beautys field, Thy youths proud livery, so gazd on now, Will be a tatterd weed, of small worth held: Then being askd, where all thy beauty lies, Where all the treasure of thy lusty days, To say, within thine own deep-sunken eyes, Were an all-eating shame and thriftless praise. How much more praise deservd thy beautys use, If thou couldst answer This fair child of mine Shall sum my count, and make my old excuse, Proving his beauty by succession thine! This were to be new made when thou art old, And see thy blood warm when thou feelst it cold. 

Part 2 Part A Write a program to count and output to the screen the numbers of times your initials (first and last names in either case) occur in the text file. 45 points 10 points 10 points Part B Write a program to count and output the indicated characters from your text file to the screen using a suitable format. Character types to count 1. Upper-case letters and Lower-case letters 2. Digits 3. Spaces and Tabs only 4. Other Punctuation (not including Spaces, Tabs, NewLines, or CarriageReturns Part 2 Part A Write a program to count and output to the screen the numbers of times your initials (first and last names in either case) occur in the text file. 45 points 10 points 10 points Part B Write a program to count and output the indicated characters from your text file to the screen using a suitable format. Character types to count 1. Upper-case letters and Lower-case letters 2. Digits 3. Spaces and Tabs only 4. Other Punctuation (not including Spaces, Tabs, NewLines, or CarriageReturns

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