How do you check if the words exist in the sentence in python?
so far i have the_sentence =...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 04.11.2019 11:31 ethanseiter
How do you check if the words exist in the sentence in python?
so far i have the_sentence = ("i love chocolate and chocolate loves me")
sentence = the_sentence. split() print(sentence) sentence_1 = raw_input("enter a word") def "word": if word in the_sentence: print "yes" elif word not in the_sentence: print "nope"
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 07:30
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 03:30
What is the purpose of a computer network needs assessment? to analyze which workers need more training to improve their performance to compare worker productivity to determine what steps employees can take to increase company revenue to evaluate how to move from the current status to the desired goal
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 15:30
In a paragraph of no less than 125 words, explain what netiquette is and how it improves efficiency and productivity in the workplace.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 26.06.2019 08:20
Pda bkhhksejc pnwjoynelp dwo xaaj ajykzaz ywj ukq zaykza the key value is 22
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/ekonomika.png)
Business, 19.05.2021 08:20
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.05.2021 08:20
![question](/tpl/images/cats/himiya.png)
Chemistry, 19.05.2021 08:20