human
I am working on the file "Python/Chapter-07/Binary-Tries-Frame.ipynb".
The first task is:
The class Bin represents a binary trie of the form $\texttt{Bin}(v,l,r)$.
It has three member variables:
* mValue is the value that is stored at this node.
* mLeft  is the left subtree.
* mRight is the right subtree.
* mDigit is a string that is used by graphviz to display the node.
Can you write Python program for it?
assistant
#Here is the Python program you requested.

class Bin(BinaryTrie):
    def __init__(self, value, left, right):
        BinaryTrie.__init__(self)
        self.mValue = value
        self.mLeft  = left
        self.mRight = right
        self.mDigit = '' # only used by graphviz

    def __str__(self):
        return _make_string(self, ['mValue', 'mLeft', 'mRight'])