Q. What will be the output of this code?
Code:
for i in range(3):
print(i, end=' ')
β
Correct Answer: (A)
0 1 2
Explanation: `range(3)` generates 0, 1, 2.