You are viewing a single comment's thread. Return to all comments →
here is my code:
a= int(input()) set_a=set(map(int, input().split())) b= int(input()) set_b=set(map(int, input().split())) print(len(set_a.union(set_b)))
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 is my code: