random.normalvariate
The random.normalvariate function returns a random number drawn from a normal distribution.
The random.normalvariate function returns a random number drawn from a normal distribution.
The random.lognormvariate function returns a random number drawn from a log-normal distribution.
The random.gauss function returns a random number drawn from a Gaussian distribution.
The random.gammavariate function returns a random number drawn from a gamma distribution.
The random.expovariate function returns a random number drawn from an exponential distribution.
The random.betavariate function returns a random number in the range (0, 1) extracted from a beta distribution.
The random.triangular function returns a random number N drawn from a triangular distribution such that low <= N <= high, with the mode specified in the third argument, mode.
If the mode argument is not specified, it defaults to the value (low + high) / 2, that is, the value located at the midpoint of the range considered.
The random.uniform function returns a random number in the range [a, b] drawn from a uniform distribution.
The random.random function returns a random number in the range [0.0, 1.0) drawn from a uniform distribution.
The random.shuffle function shuffles the sequence x in-place.
If you want to shuffle an immutable sequence x, you can use:
Excepto donde se indique otra cosa, los contenidos de este sitio web se ofrecen bajo una licencia Reconocimiento-NoComercial-SinObraDerivada 4.0 Internacional