Q. What will be the output of the following Python code?
Code:
x = "abcdef"
i = "a"
while i in x:
x = x[:-1]
print(i, end = " ")
β
Correct Answer: (B)
a a a a a a