Vidyalelo
Python · Q75

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 75

Q75

What will be the output of the following Python code? x = "abcdef" i = "i" while i in x: print(i, end=" ")

A.
no output
Answer
B.
i i i i i i ...
C.
a b c d e f
D.
abcdef

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board