- 2

How to do this in Python ? You’re working on a search engine. Watch your back Google! The given code takes a text and a word as

How to do this in Python ? You’re working on a search engine. Watch your back Google! The given code takes a text and a word as input and passes them to a function called search(). The search() function should return "Word found" if the word is present in the text, or "Word not found", if it’s not. Sample Input "This is awesome" "awesome" Sample Output Word found

10th Sep 2022, 6:29 PM
PRACELESTEVIN
PRACELESTEVIN - avatar
2 Answers
+ 5
Post your attempt and we can help you. And delete the duplicate posts
10th Sep 2022, 6:59 PM
Slick
Slick - avatar
0
Think how would you separate the text into a list of individual words
10th Sep 2022, 8:32 PM
dan
dan - avatar