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