n class="k">for</span> <span class="nb">len</span> <span class="ow">in</span> <span class="n">lens</span><span class="p">]</span>
    <span class="n">padded_sequences</span> <span class="o">=</span> <span class="p">[</span>
        <span class="n">seq</span> <span class="o">+</span> <span class="p">[</span><span class="n">padding_value</span><span class="p">]</span> <span class="o">*</span> <span class="n">diff</span> <span class="k">for</span> <span class="n">seq</span><span class="p">,</span> <span class=