>digs</span> <span class="o">-</span> <span class="mi">1</span><span class="p">),</span> <span class="mi">10</span> <span class="o">**</span> <span class="n">digs</span><span class="p">)</span>
    <span class="n">exp_prob</span> <span class="o">=</span> <span class="n">log10</span><span class="p">(</span><span class="mi">1</span> <span class="o">+</span> <span class="p">(</span><span class="mf">1.</span> <span class="o">/</span> <span class="n">dig_array</span><span class="p">))</span>
    <span class="k">