+ 2
python loop continue
why print(i) statement is written after break statement??
1 Answer
0
without seeing the code, the break exits the loop and proceeds to the next part of the code which in your case is the print(I)
why print(i) statement is written after break statement??