Skip to content

random

Generates a random number in [0,1].

random() -> float

The random function generates a random number by drawing from a uniform distribution in the interval [0,1].

from {x: random()}
{"x": 0.19634716885782455}