Write a function named find_words that has two parameters
fp a file pointer
name a string. <...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 17.06.2020 05:57 neelydeY23
Write a function named find_words that has two parameters
fp a file pointer
name a string.
The file pointer fp is for a file of the 3000 most commonly used English words with one word per line and each word is lower case. Ignoring case, find all the common English words in the name and print them one word per line of output.
Remember that each line in the file has a new line character at the end that needs to be removed. For example, if the name is Lansing, the following words are printed
1. a
2 i
3. in
4. sin
5. sing
1. Write your function here.
2
3
4
5
6 ###
7 #DO NOT REMOVE THESE LINES #
8 fp = open("word_list. txt") #
9 name = input("Input: ")
10 find_words(fp, name)
11 fp. close() 12 HE
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 15:30, gudon986732
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 23:00, brookerebman15
Which type of tab stop is most for weights and measurements?
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 04:31, genyjoannerubiera
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 11:00, jolleyrancher78
What are the possible consequences of computer hacking? what is computer piracy? describe some examples. what are the effects of computer piracy? what are the possible consequences of computer piracy? what is intentional virus setting? describe some examples. what are the effects of intentional virus setting? what are the possible consequences of intentional virus setting? what is invasion of privacy? describe some examples. what are the effects of invasion of privacy? what are the possible consequences of invasion of privacy? what is an acceptable use policy and what is the purpose of the acceptable use policy what is intellectual property and how can you use it?
Answers: 1
You know the right answer?
Questions in other subjects:
![Konu](/tpl/images/cats/pravo.png)
![Konu](/tpl/images/cats/istoriya.png)
![Konu](/tpl/images/cats/geografiya.png)
Geography, 05.04.2021 01:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 01:00
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/en.png)
English, 05.04.2021 01:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 05.04.2021 01:00
![Konu](/tpl/images/cats/obshestvoznanie.png)
![Konu](/tpl/images/cats/health.png)