You are viewing a single comment's thread. Return to all comments →
m=input() a=set(map(int,input().split())) n=input() b=set(map(int,input().split())) sortedd=sorted((a-b).union(b-a)) for i in sortedd: print(i)
Seems like cookies are disabled on this browser, please enable them to open this website
Symmetric Difference
You are viewing a single comment's thread. Return to all comments →
m=input() a=set(map(int,input().split())) n=input() b=set(map(int,input().split())) sortedd=sorted((a-b).union(b-a)) for i in sortedd: print(i)