You are viewing a single comment's thread. Return to all comments →
n_english = int(input()) zb_eng = set(map(int, input().split())) n_french = int(input()) zb_fre = set(map(int, input().split())) a = zb_eng.union(zb_fre) print(len(a))
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 →