You are viewing a single comment's thread. Return to all comments →
python 3
def lonelyinteger(a): # Write your code here return [x for x in a if a.count(x) == 1][0]
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 →
python 3
def lonelyinteger(a): # Write your code here return [x for x in a if a.count(x) == 1][0]