Top | 50 Python Control Flow & Conditional Logic quiz | Question 12

Last Updated :
Discuss
Comments

What is the output of the following code snippet?

for i in range(5):
   if i == 3:
       continue
   print(i)
 

 0 1 2 3 4

0 1 2 4

0 1 2

0 1 2 3

Share your thoughts in the comments