Question: in python please Homework 2 Page 2 Part 2 Part A Write a program to count and output the total count of characters requested to

in python please

 in python please Homework 2 Page 2 Part 2 Part A

Homework 2 Page 2 Part 2 Part A Write a program to count and output the total count of characters requested to the screen the 55 points 10 points F6 numbers of times your initials (first and last names in either case) occur in the text file. For example: Your name is "Mary Brown', the program outputs the total number of times M's. m's. B's, b's occur (one number only) to the screen. Part B 10 points 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 (non-vowels only) and Lower-case letters (vowels only) (total only) 2. Odd Digits (total only) 3. Spaces and Tabs only (total only) 4. Total of commas, periods, semi-colons, question marks, exclamation marks only Part C not the total) of all possible characters found in your text file. Part D 10 points Write a program to find and output to the screen all characters and their counts (individually 10 points Write a program to read in each line of your text file, sort all possible words contained in each line (if the line is blank or has only one word, just output it to the new file), then output each new line with one space between the sorted words to a new file called "sorted lines.txt. For A quick brown fox jumped over the lazy dog. A brown dog. fox jumped lazy over quick the example, if the line is: The output line is: Part E 15 points Write a program to find and output to a new text file all possible words found in your text file containing your initials in either order and/or either case and/or together or separated by one to many other letters and how many times each word occurs. Example: Initials "hw" yields "how or "which" or "When Part 15 points Write a program to find and count, and then output all of the different characters and their count to a new text file that follow either the initials of your first name or your last name in your text file in either case

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!