</span><span class="p">[</span><span class="o">...</span><span class="p">,</span><span class="mi">1</span><span class="p">:</span><span class="mi">2</span><span class="p">]</span><span class="o">*</span><span class="n">Lb</span>

    
    <span class="c1"># Create datab if None:</span>
    <span class="k">if</span> <span class="p">(</span><span class="n">datab</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">):</span>
        <span class="k">if</span> <span class="n">inputtype</