</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="k">if</span> <span class="n">pygame</span><span class="o">.</span><span class="n">key</span><span class="o">.</span><span class="n">get_just_released</span><span class="p">()[</span><span class="n">pygame</span><span class="o">.</span><span class="n">K_b</span><span class="p">]:</span>
   <span class="nb">print</span><span class="p">(</span><span class="s2">&quot;B key just released&quot;</span><span clas