Home / Programming MCQs / Python MCQs / Question

V

Vaibhav Shukla • 4.53K Points
Extraordinary

Q. What will be the output of the following Python code?

Code:
i = 5
while True:
    if i%0O9 == 0:
        break
    print(i)
    i += 1
(A) 5 6 7 8
(B) 5 6 7 8 9
(C) 5 6 7 8 9 10 11 12 13 14 15 ….
(D) error

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.