Computer Science, asked by BishalSarkar01, 4 months ago

What will be the output of the following Python code ?

i = 0 while i < 5: print(i) i += 1 if i == 3: break else: print(0)​

Answers

Answered by ItZkeshavi93
11

Explanation:

\huge\bf\underline{\red{A}\green{N}\orange{S}\pink{W}\purple{E}\blue{R}}

upr dekho ..

kyuki python mere samjh se bahar hai

Attachments:
Answered by remyanairlm
2

Answer:

The output for the given Python program is 001020340.

Explanation:

The given program is as:

i = 0

while i < 5:

print(i)

i += 1

if i == 3:

 break

else:

print(0)​

It will give the following as result:

001020340

Hence, the answer is 001020340.

Similar questions