You are viewing a single comment's thread. Return to all comments →
def handshake(n): return sum(range(n))
Once you understand the logic it's amazing how short the solution is.
Seems like cookies are disabled on this browser, please enable them to open this website
Handshake
You are viewing a single comment's thread. Return to all comments →
Once you understand the logic it's amazing how short the solution is.