We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32428cf commit 9677357Copy full SHA for 9677357
Doc/library/random.rst
@@ -310,6 +310,10 @@ be found in any statistics text.
310
depending on floating-point rounding in the expression
311
``a + (b-a) * random()``.
312
313
+ .. note::
314
+ The value *b* is not included in the range due to the underlying implementation.
315
+ The random number N is drawn from a uniform distribution over the half-open interval ``[*a*, *b*\)``.
316
+
317
318
.. function:: triangular(low, high, mode)
319
0 commit comments