0

How can i use the break statement to get out of nested loops (not a single loop) in python?

9th Oct 2019, 5:36 PM
Hari Krishna
2 Respostas
+ 1
br = False loop: loop: if condition: br = True break if br: break
9th Oct 2019, 6:20 PM
Seb TheS
Seb TheS - avatar
0
Like why someone would use it or how to code it?
9th Oct 2019, 5:52 PM
Odyel
Odyel - avatar