Set .difference() Operation

  • + 0 comments

    n=int(input()) a=set(map(int, input().split())) m=int(input()) b=set(map(int, input().split())) difference_set = a-b

    print(len(difference_set))