PyDocs

Nav

Numeric and Mathematical Modules

Random.random

random

method of Random
  • Random.random()
random() -> x in the interval [0, 1).
1 Example
>>> fr = FullRandom()
>>> fr.random()
0.05954861408025609
>>> fr.expovariate(0.25)
8.87925541791544
from the Python docs
See Also
No see-alsos for random/Random.random
0 Notes
No notes for Random.random