&quot;</span><span class="p">])</span>
            <span class="k">if</span> <span class="n">dist_type</span> <span class="ow">not</span> <span class="ow">in</span> <span class="n">valid_dist_types</span><span class="p">:</span>
                <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span>
                    <span class="s2">&quot;Please specify the distribution type. Valid options are: </span><span class="si">{}</span><span class="s2">&quot;</span>
               