+ 1
Search engine goes wrong for me
How to explain it works for only 2nd, 5th and 6th case ? text = (input()) word = (input()) def search(text, word): text=text.split('""') word=word.split('""') if word in text: return "Word found" else : return "Word not found" print(search(text,word))
2 Réponses
+ 2
You do not need to split anything.
+ 1
That's right