Antwort
Ich würde es so machen:
text = input("Dein Text: ")
word = input("Wort zum suchen: ")
def search_engine(text, word):
if word in text:
print("Word found")
else:
print("Word could not found")
search_engine(text, word)