Report Bug
Qus :

What will be the output of the following Python code?

x = "abcdef"
i = "i"
while i in x:
    print(i, end=" ")

Qus

निम्नलिखित Python कोड का आउटपुट क्या होगा?

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


Solution
A. no output



Explanation
“i” is not in “abcdef”.



Report Bug