What will be the output of the following Python code?
x = "abcdef"
i = "a"
while i in x[1:]:
print(i, end = " ")
x = "abcdef"
i = "a"
while i in x[1:]:
print(i, end = " ")A. a a a a a a
B. a
C. no output
D. error
Answer: Option C

Join The Discussion