You are viewing a single comment's thread. Return to all comments →
why is everyone converting input to integer when string will also do the same
input() a = input().split() h = set(input().split()) s = set(input().split()) print(sum(1 if x in h else -1 if x in s else 0 for x in a))
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 →
why is everyone converting input to integer when string will also do the same