You are viewing a single comment's thread. Return to all comments →
t = int(input()) def interss(a,b): r = True for i in a: if i in b: pass else: r = False print(r) for i in range(t): al= int(input()) a_item = list(input().split()) bl = int(input()) b_item = list(input().split()) ff = interss(a_item,b_item)
Seems like cookies are disabled on this browser, please enable them to open this website
Check Subset
You are viewing a single comment's thread. Return to all comments →