Set .difference() Operation

  • + 0 comments

    s=int(input()) set1=set(map(int,input().split(" "))) a= int(input()) set2=set(map(int,input().split(" "))) print(len(set1- set2))