Does 'continue' only work with the for loop or does it work with other loops or even without loops? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Does 'continue' only work with the for loop or does it work with other loops or even without loops?

31st Jul 2016, 9:42 PM
cocoacheescakemuffin
cocoacheescakemuffin - avatar
1 ответ
+ 1
it works with all loops because in the case of continue it only requires to check the test condition for re-entering in the loop
3rd Aug 2016, 9:27 AM
Ambika Arora
Ambika Arora - avatar