I built the python code that can find the sentence that is in another sentence as below, but it didn't work well.
sentence = "While speaking to Ross, Rachel comes to terms with something that was bothering her."
if "Rachel has made coffee to Joey and Chandler for the first time of her entire life." or "Monica can't stop smiling while having a conversation with Rachel." in sentence:
print("YES")
else
print("NO!")
It should be printed "NO!"
because it has totally different sentence. However, it prints "YES"
..
Is this because of string?
Is there anything I did wrong in my code or
Do I misunderstand something?