You are viewing a single comment's thread. Return to all comments →
M = int(input()) A = set(map(int, input().split())) N = int(input()) B = set(map(int, input().split())) res = sorted(A.symmetric_difference(B)) print(*res, sep="\n")
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 →
For Python3