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:A
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)
Explanation: Any number that is greater than or equal to 0.0 and lesser than 1.0 can be returned.