You are viewing a single comment's thread. Return to all comments →
Here's my code:
el = int(input()) e = set(list(map(int, input().split()))[:el]) fl = int(input()) f = set(list(map(int, input().split()))[:fl]) print(len(e.union(f)))
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 →
Here's my code: