bred

Generation

generate functionTue, 17 Jan 2023

find a specific word within a string without any spaces

def find_word(text, word): if text.find(word) != -1: return True return False find_word("hello","ll")

Questions about programming?Chat with your personal AI assistant