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