Sprawdź słowo na liście

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