You are viewing a single comment's thread. Return to all comments →
def pickingNumbers(a): return max([len([i-a[j] for j in range(len(a)) if i-a[j] in [0,1]]) for i in set(a)])
Seems like cookies are disabled on this browser, please enable them to open this website
Picking Numbers
You are viewing a single comment's thread. Return to all comments →
Python