Set .symmetric_difference() Operation

  • + 0 comments

    n=int(input()) eng=set(map(int,input().split())) m=int(input()) french=set(map(int,input().split())) oeof=eng.symmetric_difference(french) not_common=list(oeof) print(len(not_common))