PyDocs

Nav

Numeric and Mathematical Modules

gauss

random

function (source)
  • gauss(mu=0.0, sigma=1.0)
Gaussian distribution.

mu is the mean, and sigma is the standard deviation.  This is
slightly faster than the normalvariate() function.

Not thread-safe without a lock around calls.
Changed in 3.11
  • 3.11: mu and sigma now have default arguments.
0 Examples
No examples for random/gauss.
See Also
No see-alsos for random/gauss
0 Notes
No notes for gauss