Run
list_1 = ['a', 'b', 'c', 'd', 'e'] list_2 = ['a', 'c', 'e'] if all(x in list_1 for x in list_2) : print("List 1 contains all elements of list 2.") else: print("List 1 does not contain all elements of list 2.")
Output