Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

word search engine in python

def search(text, word):
    if word in text:
        result = "Word found"
        return result 
    else:
        result = "Word not found"
        return result

text = input()
word = input()

print(search(text, word))
 
PREVIOUS NEXT
Tagged: #word #search #engine #python
ADD COMMENT
Topic
Name
6+7 =