bred

Generation

generate functionTue, 17 Jan 2023

find word in a string

# "apple, banner, cherry" def word_in_string(word, string): return word in string.split(", ") word_in_string('banana', 'apple, banana, cherry')

Questions about programming?Chat with your personal AI assistant