Beautiful Binary String

  • + 0 comments
    def beautifulBinaryString(b):
        return b.count("010")