You are viewing a single comment's thread. Return to all comments →
input() # Is this needed? happy = list(map(int, input().split())) a = set(map(int, input().split())) b = set(map(int, input().split())) happiness = [h for h in happy if h in a] sadness = [s for s in happy if s in b] print(len(happiness) - len(sadness))
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →