How do you check if the words exist in the sentence in Python?

So far I have got...

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"

Thanks

Similar Questions
  1. Here are some sentences on the same theme I'd like you to check.I included a few sentences on reading habits and a few words I
    1. answers icon 2 answers
  2. Choosing Sentence Structure Quick Check1 of 41 of 4 Items Question Which option describes a clause?(1 point) Responses the
    1. answers icon 1 answer
  3. Using references quick check1. guide words 2. only the words used in a particular book 3. the exact meaning of the word 4.
    1. answers icon 1 answer
  4. I need help on the unit 3 lesson 3 Technical Definitions Quick Check3.which words or phrases could give you context clues in a
    1. answers icon 5 answers
more similar questions