You are viewing a single comment's thread. Return to all comments →
Here's my code:
el = int(input()) e = list(map(int, input().split()))[:el] fl = int(input()) f = list(map(int, input().split()))[:fl] print(len(list(set(e).symmetric_difference(f))))
Seems like cookies are disabled on this browser, please enable them to open this website
Set .symmetric_difference() Operation
You are viewing a single comment's thread. Return to all comments →
Here's my code: