Question: (Python) Write a program that reads in 1.txt file, coverts all words to lowercase, and prints out all words in the file that contains the

(Python) Write a program that reads in 1.txt file, coverts all words to lowercase, and prints out all words in the file that contains the letter a, the letter b, the letter c, and so on. Build a dictionary whose keys are the lowercase letters, and whose values are sets of words containing the giving letter.

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!