You are viewing a single comment's thread. Return to all comments →
set_a = set(input().split()) n = int(input()) x = 0 for i in range(n): set_b = set(input().split()) if set_a.issuperset(set_b): x += 1 if x ==n: print("True") else: print("False")
Seems like cookies are disabled on this browser, please enable them to open this website
Check Strict Superset
You are viewing a single comment's thread. Return to all comments →