Computer Science, asked by BishalSarkar01, 3 months ago

What will be the output of the following Python code?

x = "abcdef" while i in x: print(i, end=" ")

Answers

Answered by Anonymous
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 AgarwalKinjal25
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