You are viewing a single comment's thread. Return to all comments →
You can use Python sets:
b = set(a) n = len(a) if n == 1: return a[0] return ((sum(b)*2 - sum(a)))
Seems like cookies are disabled on this browser, please enable them to open this website
Lonely Integer
You are viewing a single comment's thread. Return to all comments →
You can use Python sets: