span class="n">l2d</span>

<span class="k">def</span> <span class="nf">_gen_first_digits_</span><span class="p">(</span><span class="n">digs</span><span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;Creates two arrays, one with the possible digits combinations and the</span>
<span class="sd">    other with their respective expected probabilities according to Benford</span>

<span class="sd">    Args:</span>
<span class="sd">        digs (int): 1, 2 or 3, for generation of the first, first two, 