A
Q. What is the output of the following program :
Code:
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
- Correct Answer - Option(B)
- Views: 35
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.