adplus-dvertising
frame-decoration

Question

What is the output of the following?
x = "abcdef"
i = "i"
while i in x:
    print(i, end=" ")

a.

no output

b.

i i i i i i …

c.

a b c d e f

d.

abcdef

Posted under Python

Answer: (a).no output

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