You are viewing a single comment's thread. Return to all comments →
M= int(input()) a= set(list(map(int, input().split()))) N= int(input()) b= set(list(map(int,input().split()))) answer= list(a.difference(b).union(b.difference(a))) answer.sort() for numero in answer: print(numero)
Seems like cookies are disabled on this browser, please enable them to open this website
An unexpected error occurred. Please try reloading the page. If problem persists, please contact support@hackerrank.com
Symmetric Difference
You are viewing a single comment's thread. Return to all comments →