You are here : python_3randomrandomtriangular

random.triangular() - random

Return a random floating point number N such that low <= N <= high and
with the specified mode between those bounds.  The low and high bounds
default to zero and one.  The mode argument defaults to the midpoint
between the bounds, giving a symmetric distribution.


Syntax

random.triangular(low, high, mode)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference