n class="p">,</span> <span class="o">-</span><span class="mi">1</span><span class="p">):</span>
                    <span class="n">remainUtil</span> <span class="o">+=</span> <span class="n">revisedTransaction</span><span class="p">[</span><span class="n">j</span><span class="p">]</span><span class="o">.</span><span class="n">quantity</span>
                <span class="k">if</span> <span class="n">pair</span><span class="o">.</span><span class="n">quantity</span> <span class="o">&gt;</span> <span class="n