Programming (Year 12)
Loops
What does the following code snippet print? for i in range(3): print(i)
0 1 2
0 1 2 3
1 2 3
3
Next