Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

python check all elements in list are in another list

check = all ( item in first_list for item in second_list )
# check = True - All elements from first_list are in second_list
# check = False - Not all elements from first_list are not in second_list
 
PREVIOUS NEXT
Tagged: #python #check #elements #list #list
ADD COMMENT
Topic
Name
5+1 =