Why the output changes by the use of continue in the below codes? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
10th May 2019, 7:36 AM
Hari Krishna Sahu
Hari Krishna Sahu - avatar
2 Antworten
+ 5
Continue jumps to start (next iteration) break ends the loop.
10th May 2019, 7:48 AM
Daniel Adam
Daniel Adam - avatar
+ 2
Continue skips the current iteration and then continue with the next iteration
15th May 2019, 8:28 AM
Nandyala Priyanka
Nandyala Priyanka - avatar