Q. What will be the output of the following Python program?
Code:
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
β
Correct Answer: (C)
0 1 2