A
Q. Study the following program:
Code:
x = 1
while True:
if x % 5 = = 0:
break
print(x)
x + = 1
What will be the output of this code?
while True:
if x % 5 = = 0:
break
print(x)
x + = 1
What will be the output of this code?
- Correct Answer - Option(C)
- Views: 26
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.