Mathematics.
outcomes for a random variable X, probability of getting an outcome x is given by : import numpy as np import matplotlib.pyplot as plt y = np.full(6, 1/6) plt.bar(range(1,len(y)+1), y) plt.ylim(0,1.) plt.ylabel(‘Probability’) plt.xlabel(‘Outcomes of rolling an unbiased die’) Uniform Distribution (