Home / Programming MCQs / Python MCQs / Question

R

Ram Sharma • 178.09K Points
Coach

Q. How many times will the loop run?

Code:
i=2

while(i>0):

    i=i-1
(A) 0
(B) 1
(C) 2
(D) 3

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.