You are viewing a single comment's thread. Return to all comments →
print(len(max("{0:b}".format(int(input())).split('0'), key=len)))
Seems like cookies are disabled on this browser, please enable them to open this website
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →