You are viewing a single comment's thread. Return to all comments →
input() english_newspaper = set(input().split()) input() french_newspaper = set(input().split())
print(len(english_newspaper.symmetric_difference(french_newspaper)))
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 →
input() english_newspaper = set(input().split()) input() french_newspaper = set(input().split())
print(len(english_newspaper.symmetric_difference(french_newspaper)))