Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if a list is a subset of another list

if(all(x in test_list for x in sub_list)): 
  flag = True
 
PREVIOUS NEXT
Tagged: #check #list #subset #list
ADD COMMENT
Topic
Name
6+9 =