You are viewing a single comment's thread. Return to all comments →
SIMPLEST SOLUTION IN PYTHON-
l=b.split('010')
return len(l)-1
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 →
SIMPLEST SOLUTION IN PYTHON-
l=b.split('010')
return len(l)-1