Beautiful Binary String

  • + 0 comments
    # Beautiful Binary String
    def beautiful_binary_string(b):
        return b.count('101')