You are viewing a single comment's thread. Return to all comments →
py def sockMerchant(n, ar): store = [] result = 0 for i in ar: if i not in store: store.append(i) else: store.remove(i) result += 1
return result
Seems like cookies are disabled on this browser, please enable them to open this website
Sales by Match
You are viewing a single comment's thread. Return to all comments →
py def sockMerchant(n, ar): store = [] result = 0 for i in ar: if i not in store: store.append(i) else: store.remove(i) result += 1