Check Subset

  • + 0 comments

    n = int(input()) for i in range(n): n1 = int(input()) a = set(map(int,input().split())) n2 = int(input()) b = set(map(int,input().split())) c = a.intersection(b) if a == c: print('True') else: print('False')