0
Help me Pyton
Thanks
3 ответов
0
def search(text, word):
 text = input()
 word = input()
 if word in text:
  return "Word found"
 else: 
  return "Word not found"
print(search(text, word))
0
you shouldn't use the input() inside the function
it should be used like this:
text = input()
word = input()
print(search(text, word))
--------‐------
And on another note, make sure to properly post your question next time. Tags are a good place to put your language you are using, not code. It's important to write good questions to receive good answers!
0
I do'nt understand



