DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+9 =
Submit