Question: need help step-by-step Write a function find Word). It takes two parameters. A string which represents a paragraph and string that represents a word to
Write a function find Word). It takes two parameters. A string which represents a paragraph and string that represents a word to find in the paragraph. Note, let's say you have a word "anything" and you search for "any", it should not count anything. In other words, it has to be the exact word not a part of a word. Case must be ignored. >>> findWord ('Is this here','here') True >>> findWord ('Nothing is hidden', 'nothing') True >>> findWord ("Did you find the word', 'word') True >>> findWord ('I cant hear what you are hearing', 'HEAR') True >>> findWord ('What are you hearing', 'hear') False >>> findWord ('I LIKE THIS PROBLEM', 'like') True
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
