Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Check If Element Is In List

list = ["a", "a", "a", "b", "c", "d"]

if 'a' in list:
    print("a is in the list")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Check #If #Element #Is #In #List
ADD COMMENT
Topic
Name
1+6 =