Question: First, make a file called 'words.txt' containing a paragraph with at least 100 words. You can do this with a word processor if you like.

 First, make a file called 'words.txt' containing a paragraph with at

First, make a file called 'words.txt' containing a paragraph with at least 100 words. You can do this with a word processor if you like. Then, make a Python code that will Ask the user for a file name Look at each word in the file and turn it into lower case plus remove punctuation Count the frequency of each letter a-z Output the frequency in a file called 'histogram.txt' where each line is a single letter followed by a tab followed by the frequency count One result per line (by using \t.)

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!