ID EN
Random

gauss

Python 3.11

Normal distribution, also called the Gaussian distribution. mu is the mean, and sigma is the standard deviation. This is slightly faster than the normalvariate() function defined below.

Syntax

PYTHON
random.gauss(mu=0.0, sigma=1.0)

See Also

normalvariate() normalvariate()