Calculating the First and Second Moments (Mu and Variance) in Python | Finance Train