Q. What will be the output of the following Python code?
Code:
x = "abcdef"
i = "a"
while i in x:
print('i', end = " ")
β
Correct Answer: (B)
i i i i i i …
x = "abcdef"
i = "a"
while i in x:
print('i', end = " ")
You must be Logged in to update hint/solution