Statistics, Statistical Analysis, Normal Distribution, Central Limit Theorem, Cdf.
X.var() print(Var_X) The output is: 2.9166666666666665 This means that the outcome of a die roll varies by about 2.92 from its expectation on average. We can also calculate the variance of Y using the same method: # The variance of Y Var_Y = Y.var() print(Var_Y) The output is: 15.13888888888889