pan><span class="o">.</span><span class="n">max</span><span class="p">(</span><span class="mi">1</span><span class="p">)[</span><span class="mi">1</span><span class="p">]</span>
        
        <span class="n">iteration</span> <span class="o">=</span> <span class="mi">0</span>
        
        <span class="k">while</span> <span class="n">py</span><span class="o">.</span><span class="n">item</span><span class="p">()</span> <span class="o">==</span> <span class="n">ny</span><span class="o">.</span><span 