A
Q. What will be the output of this statement?
Code:
1. i = 0
2. while i < 5:
3. print(i)
4. i += 1
5. if i == 3:
6. break
7. else:
8. print(0)
2. while i < 5:
3. print(i)
4. i += 1
5. if i == 3:
6. break
7. else:
8. print(0)
- Correct Answer - Option(C)
- Views: 24
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.