You are viewing a single comment's thread. Return to all comments →
_ = input() m = set(map(int, input().split())) _ = input() n = set(map(int, input().split())) for num in sorted(list(m.symmetric_difference(n))): print(num)
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 →