What will be the output of the following Python code?
x = "abcdef" while i in x: print(i, end=" ")
Answers
Answered by
5
Answer:
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
Explanation:
hope it helps you mate ☺️
Answered by
2
Answer:
i =0
while i<5:
print (i)
i+=1
if I==3:
break
else:
print (0)
Explanation:
i hope it will help you
Similar questions