0 votes
in Python Flask by
Why do we need break and continue in Python?

1 Answer

0 votes
by

Both break and continue are statements that control flow in Python loops. break stops the current loop from executing further and transfers the control to the next block. continue jumps to the next iteration of the loop without exhausting it.

...