     class="p">(</span><span class="n">i</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span> <span
            class="n">k</span><span class="p">)</span> <span class="ow">not</span> <span class="ow">in</span> <span
            class="n">set_edge</span><span class="p">:</span>
                    <span class="k">if</span> <span class="n">label</span><span class="p">:</span>
                        <span class="n">G</span><span class="o">.</span><span class="n">add_edge</span><spa