0
What is the use of continue statement
4 Answers
+ 1
When code reaches to continue, it stops that iteration and goes to next step:
for i in range (4):
if i == 1:
continue
print (i)
The above code outputs: 0 2 3
+ 1
Rahul Gajul yeah
0
That means it won't consider the iteration 2??