random
Generates a random number in [0,1].
random() -> float
Description
Section titled “Description”The random
function generates a random number by drawing from a uniform
distribution in
the interval [0,1].
Examples
Section titled “Examples”Generate a random number
Section titled “Generate a random number”from {x: random()}
{"x": 0.19634716885782455}