R

Ram Sharma • 193.86K Points
Coach

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?
  • (A) 2 1
  • (B) 0 3 1
  • (C) error
  • (D) None of these

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.