class="o">.</span><span
            class="n">suc</span> <span class="o">=</span> <span class="n">node</span><span class="o">.</span><span
            class="n">suc</span>
        <span class="k">if</span> <span class="n">node</span> <span class="o">==</span> <span
            class="bp">self</span><span class="o">.</span><span class="n">root</span><span class="p">:</span>
            <span class="c1"># print(&quot;Our node is a root&quot;)</span>
            <span class="bp">self</span><span class="o">.</s