0
What is the use of continue statement
3 Antworten
+ 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??