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
B. a a a a a a
C. a a a a a a ...
D. a
Answer: Option C

Join The Discussion