 class="gp">In [3]: </span><span class="k">print</span><span class="p">(</span><span class="n">dist1</span><span class="p">)</span>
<span class="go">Value | Probability</span>
<span class="go">2     | 0.25</span>
<span class="go">3     | 0.5</span>
<span class="go">5     | 0.25</span>

<span class="gp">In [4]: </span><span class="n">dist2</span> <span class="o">=</span> <span class="n">Table</span><span class="p">()</span><span class="o">.</span><span class="n">values</span><span class="p">(</span><span cla