Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list contain list

>>> items = set([-1, 0, 1, 2])
>>> set([1, 2]).issubset(items)
True
>>> set([1, 3]).issubset(items)
False
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #list #list
ADD COMMENT
Topic
Name
6+1 =