+ 3
Real "search engines" aren't that simple.
In case you mean a task in the sololearn course: Read the lesson again. If you need help, mention the programming language and the course name and show what you have tried.
+ 2
Read the previous lesson again and pay attention to the "in" operator for testing if a string is a substring of another.