Q. What is the result of list(range(3))?
β
Correct Answer: (B)
[0, 1, 2]
Explanation: range(3) produces values from 0 up to 2.
Explanation: range(3) produces values from 0 up to 2.