+ 2
Search engine syntax error
text = input() word = input() def search(text, word ): if word in text: print("word found") else: print("word not found" search(text, word)
4 Answers
+ 3
The error is because in the else statment you haven't typed the closing bracket
+ 2
Ermias Bibi
Check previous answers please
https://www.sololearn.com/Discuss/2855766/?ref=app
+ 1
Thanks you all . I finally got it right and I am now a graduate of phyton beginner
0
Ermias Bibi looking at this question, your other question that AJ linked to and the fact that you wrote "phyton beginner", you need to learn to pay much more attention to details if you want to be a programmer. Remember that every character counts.