A
Q. What will be the output of the following Python code?
Code:
i = 2
while True:
if i%3 == 0:
break
print(i)
i += 2
while True:
if i%3 == 0:
break
print(i)
i += 2
- Correct Answer - Option(B)
- Views: 26
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.