0
0

More than 1 year has passed since last update.

[python] break,continue

Posted at

break文

whileループなどから抜け出す
breakとコードに記述すれば使える

continue文

whileループなどで使う
ループ中でcontinueに到達するとループの先頭に戻り、ループ条件式を再度評価する
ループ動作で末尾に到達したときと同じ動作

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0