?
What will be the output of the following Python code?
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)
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
Join the Discussion
Login to post a comment or share your explanation.
Login