A
Q. What will be the output of the following Python code?
Code:
i = 0
while i < 3:
print(i)
i += 1
else:
print(0)
while i < 3:
print(i)
i += 1
else:
print(0)
- Correct Answer - Option(B)
- Views: 7
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.