Define Variance In Python