ary</span><span class="p">])</span>
                    
                    <span class="n">collections</span> <span class="o">=</span> <span class="n">new_collections</span>

        <span class="k">else</span><span class="p">:</span>
            <span class="k">while</span> <span class="nb">len</span><span class="p">(</span><span class="n">collections</span><span class="p">)</span> <span class="o">&gt;</span> <span class="mi">0</span><span class="p">:</span>
                <span class="n">new_collection