Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check word in list

def check(word, list):
    if word in list:
        print("The word is in the list!")
    else:
        print("The word is not in the list!")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #word #list
ADD COMMENT
Topic
Name
3+6 =