pan class="c1">#         text.append(&quot;    Name: &quot; + name)</span>
    <span class="c1">#         text.append(&quot;    Branches:&quot;)</span>
    <span class="c1">#         text.append(&quot;                         Value  Next Node&quot;)</span>
    <span class="c1">#         for (outcome, next_node) in node.get(&quot;branches&quot;):</span>
    <span class="c1">#             text.append(</span>
    <span class="c1">#                 &quot;                  {:12.3f}  {:s}&quot;.format(outcome, ne