Easy
Find a Word
Read a sentence and a word. Print
Found if the word appears anywhere in the sentence (use re.search with the word as the pattern), otherwise Not found.Input
Two lines.
Output
One line.
Sample 1
Input
I love Python Python
Output
Found
Sample 2
Input
I love Python Java
Output
Not found
Output appears here