If condition | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If condition

Hey dear friends, in a condition "If" - can i use a "break" function? If not, there is a way to somehow stop the loop of the condition?

9th Jan 2017, 8:02 PM
jonathan baranov
jonathan baranov - avatar
3 Answers
+ 1
...and switches.'
10th Jan 2017, 8:37 PM
Maike
0
If you have a loop then break should stop it. No matter how it was called. It just stops loops.
9th Jan 2017, 8:22 PM
Ivan G
Ivan G - avatar
0
Thanks for support
26th Mar 2017, 3:00 PM
jonathan baranov
jonathan baranov - avatar