A
Q. What will be the output of the following Python code?
Code:
x = "abcdef"
i = "a"
while i in x[1:]:
print(i, end = " ")
i = "a"
while i in x[1:]:
print(i, end = " ")
- Correct Answer - Option(D)
- Views: 3
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.