def check(word, list): if word in list: print("The word is in the list!") else: print("The word is not in the list!")