Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python keyword search engine

#text search engine
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: #python #keyword #search #engine
ADD COMMENT
Topic
Name
5+2 =