In this HackerRank Check Subset problem solution You are given two sets, A and B. Your job is to find whether set A is a subset of set B. If set A is a subset of set B, print True. If set A is not a subset of set B, print False.

## HackerRank Check Subset in python problem solution

for i in range(int(raw_input())): #More than 4 lines will result in 0 score. Do not leave a blank line also. a = int(raw_input()); A = set(raw_input().split()) b = int(raw_input()); B = set(raw_input().split()) print A.issubset(B)

## 0 Comments