1.

What is the range of values that random.random() can return?(a) [0.0, 1.0](b) (0.0, 1.0](c) (0.0, 1.0)(d) [0.0, 1.0)

Answer» The correct answer is (d) [0.0, 1.0)

To explain: Any number that is greater than or equal to 0.0 and lesser than 1.0 can be returned.


Discussion

No Comment Found