You are viewing a single comment's thread. Return to all comments →
_ = input() set_a = {int(i) for i in input().split(' ')} _ = input() set_b = {int(i) for i in 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 →