- 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
2 Respostas
+ 5
Post your attempt and we can help you. And delete the duplicate posts
0
Think how would you separate the text into a list of individual words