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