You are viewing a single comment's thread. Return to all comments →
Python 3
def beautifulBinaryString(b): return len(re.findall(r'010', b))
Seems like cookies are disabled on this browser, please enable them to open this website
Beautiful Binary String
You are viewing a single comment's thread. Return to all comments →
Python 3