You are here : python_3randomrandomuniform

random.uniform() - random

Return a random floating point number N such that a <= N <= b for
a <= b and b <= N <= a for b < a.


Syntax

random.uniform(a, b)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference