Calculating Standard Deviation with Python