adplus-dvertising
frame-decoration

Question

What is the output of the following?
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

Posted under Python

Answer: (d).error

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the following?

Similar Questions

Discover Related MCQs