You are viewing a single comment's thread. Return to all comments →
a=int(input()) b=set(map(int,input().split())) c=int(input()) d=set(map(int,input().split())) print(len(d.difference(b))+len(b.difference(d)))
Seems like cookies are disabled on this browser, please enable them to open this website
Set .symmetric_difference() Operation
You are viewing a single comment's thread. Return to all comments →