Write a python function to check if given set is subset or not


Topic: Write a python function to check if given set is subset or not

Solution

def check_subset():
    for _ in range(int(input())):
        x, a, z, b = input(), set(input().split()), input(), set(input().split())
    print(a.issubset(b))



List all Python Programs