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 7f7dc67 commit 1536342Copy full SHA for 1536342
1 file changed
Doc/library/random.rst
@@ -409,7 +409,7 @@ Basic examples::
409
>>> random() # Random float: 0.0 <= x < 1.0
410
0.37444887175646646
411
412
- >>> uniform(2.5, 10.0) # Random float: 2.5 <= x < 10.0
+ >>> uniform(2.5, 10.0) # Random float: 2.5 <= x <= 10.0
413
3.1800146073117523
414
415
>>> expovariate(1 / 5) # Interval between arrivals averaging 5 seconds
0 commit comments