Question: Python You've started learning French, and have noticed that a lot of words are the same in English and French. You're curious about how many

Python

Python You've started learning French, and have noticed that a lot of

You've started learning French, and have noticed that a lot of words are the same in English and French. You're curious about how many words are the same, and have obtained a large list of words in both languages. Write a program to read in a list of English words (english.txt) and French words (french.txt), and print out all the words in common. That is, all the words that occur in both of the two files. For example, if english.txt contain:s circle table year competition and french.txt contains bien competition merci table then your program should print out (in any order) competition table 9 Hint You might want to use set intersection to solve this

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!