Q. What is the output of the following program :
Code:
i = 0 while i < 3: print i print i+1
β
Correct Answer: (C)
0 1 1 2 2 3
i = 0 while i < 3: print i print i+1
You must be Logged in to update hint/solution