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.union(french_newspaper)))
Seems like cookies are disabled on this browser, please enable them to open this website
Set .union() 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.union(french_newspaper)))