s="p">):</span>
        <span class="k">if</span> <span class="n">i</span> <span class="o">&gt;=</span> <span class="n">j</span><span class="p">:</span>  
            <span class="k">continue</span>

        <span class="n">type1</span> <span class="o">=</span> <span class="n">labels</span><span class="p">[</span><span class="n">i</span><span class="p">]</span>
        <span class="n">type2</span> <span class="o">=</span> <span class="n">labels</span><span class="p">[</span><span class="n">j</span><span cla