Beautiful Binary String

  • + 0 comments

    def beautifulBinaryString(b): return len(re.findall(r'(010)',b))