Answers for "how to check if a list is a subset of another list"

0

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
Posted by: Guest on April-07-2020

Code answers related to "how to check if a list is a subset of another list"

Python Answers by Framework

Browse Popular Code Answers by Language