Python Basic-break & continue in loop

Use break and continue in circulation

  1. continue: directly enter the next cycle,
  2. break: direct result loop. Ending the loop body does not end this loop.

Guess you like

Origin www.cnblogs.com/fei-huang/p/12718063.html