Answers for "word search engine in python"

0

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))
Posted by: Guest on April-17-2022

Python Answers by Framework

Browse Popular Code Answers by Language