Q. What is the output of this code snippet?
Code:
print(list(range(1, 10, 3)))
β
Correct Answer: (B)
[1, 4, 7]
Explanation: `range(1, 10, 3)` starts at 1, goes up to 9 with step 3.