span class="k">elif</span> <span class="n">labels</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="o">==</span> <span class="s1">&#39;so&#39;</span><span class="p">:</span>
                    <span class="n">outkeyList</span><span class="o">.</span><span class="n">extend</span><span class="p">([</span><span class="s1">&#39;so_k_val&#39;</span><span class="p">,</span><span class="s1">&#39;so_d_val&#39;</span><span class="p">])</span>
                <span class="k"