You are viewing a single comment's thread. Return to all comments →
m = int(input()) M = set(map(int, input().split())) n = int(input()) N = set(map(int, input().split())) print(*sorted(M.symmetric_difference(N)), 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 Platform