Range of python's random.random() from the standard library -
Does the random of Python (raid) ever return 1.0 or does it return only to 0.9999 ..?
docs are here:
... random (), Which generates a random boat, evenly in the semi-open range [0.0, 1.0].
So, the return value will be greater than or equal to 0, and less than 1.0.
Comments
Post a Comment