random.random()

random.random() → x in the interval [0, 1).