{"id":16539,"date":"2024-12-19T01:31:53","date_gmt":"2024-12-18T22:01:53","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=16539"},"modified":"2024-12-19T01:31:53","modified_gmt":"2024-12-18T22:01:53","slug":"how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/","title":{"rendered":"Python \u3067\u30eb\u30fc\u30d7\u3092\u64cd\u4f5c\u3059\u308b\u3068\u304d\u306b Continue\u3001Break\u3001Pass \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">\u5c0e\u5165<\/h2>\n<p>Python\u3067for\u30eb\u30fc\u30d7\u3068while\u30eb\u30fc\u30d7\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u7684\u304b\u3064\u52b9\u7387\u7684\u306b\u7e70\u308a\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30eb\u30fc\u30d7\u306fPython\u306e\u57fa\u672c\u7684\u306a\u69cb\u6210\u8981\u7d20\u3067\u3042\u308a\u3001\u30ea\u30b9\u30c8\u3001\u30bf\u30d7\u30eb\u3001\u6587\u5b57\u5217\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u53cd\u5fa9\u51e6\u7406\u3057\u305f\u308a\u3001\u6761\u4ef6\u306b\u57fa\u3065\u3044\u3066\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u3092\u7e70\u308a\u8fd4\u3057\u5b9f\u884c\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002.<\/p>\n<p>\u3057\u304b\u3057\u3001\u30eb\u30fc\u30d7\u306e\u30d5\u30ed\u30fc\u3092\u3088\u308a\u7d30\u304b\u304f\u5236\u5fa1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30b7\u30ca\u30ea\u30aa\u3082\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30eb\u30fc\u30d7\u3092\u9014\u4e2d\u3067\u7d42\u4e86\u3057\u305f\u308a\u3001\u73fe\u5728\u306e\u53cd\u5fa9\u51e6\u7406\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u305f\u308a\u3001\u3042\u308b\u3044\u306f\u5c06\u6765\u306e\u30b3\u30fc\u30c9\u306e\u305f\u3081\u306e\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u3092\u7528\u610f\u3057\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u72b6\u6cc1\u306b\u906d\u9047\u3059\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002Python\u306b\u306f\u3001\u3053\u306e\u3088\u3046\u306a\u30b1\u30fc\u30b9\u306b\u5bfe\u51e6\u3059\u308b\u305f\u3081\u306e\u5f37\u529b\u306a3\u3064\u306e\u6587\u3001break\u3001continue\u3001pass\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002.<\/p>\n<ul>\n<li>break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u305f\u5834\u5408\u306b\u30eb\u30fc\u30d7\u3092\u5b8c\u5168\u306b\u7d42\u4e86\u3057\u3001\u30eb\u30fc\u30d7\u306e\u5b9f\u884c\u3092\u52b9\u679c\u7684\u306b\u505c\u6b62\u3067\u304d\u307e\u3059\u3002.<\/li>\n<li>break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u305f\u5834\u5408\u306b\u30eb\u30fc\u30d7\u3092\u5b8c\u5168\u306b\u7d42\u4e86\u3057\u3001\u30eb\u30fc\u30d7\u306e\u5b9f\u884c\u3092\u52b9\u679c\u7684\u306b\u505c\u6b62\u3067\u304d\u307e\u3059\u3002.<\/li>\n<li>pass \u6587\u306f null \u6f14\u7b97\u5b50\u3067\u3059\u3002\u30eb\u30fc\u30d7\u3001\u95a2\u6570\u3001\u30af\u30e9\u30b9\u3001\u6761\u4ef6\u6587\u306a\u3069\u3001\u69cb\u6587\u4e0a\u306f\u30b3\u30fc\u30c9\u304c\u5fc5\u9808\u3060\u304c\u5b9f\u884c\u3059\u308b\u3082\u306e\u304c\u306a\u3044\u7b87\u6240\u3067\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002.<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u7406\u89e3\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30eb\u30fc\u30d7\u5236\u5fa1\u30d5\u30ed\u30fc\u306e\u7ba1\u7406\u80fd\u529b\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u3001\u30b3\u30fc\u30c9\u306e\u52b9\u7387\u3068\u53ef\u8aad\u6027\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Python\u306e\u30eb\u30fc\u30d7\u3067break\u3001continue\u3001pass\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u5b9f\u7528\u7684\u306a\u4f8b\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%be%db%8c%d8%b4-%d9%86%db%8c%d8%a7%d8%b2%d9%87%d8%a7\">\u524d\u63d0\u6761\u4ef6<\/h5>\n<p>\u304a\u4f7f\u3044\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u307e\u305f\u306f\u30b5\u30fc\u30d0\u30fc\u306bPython 3\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u958b\u767a\u74b0\u5883\u304c\u69cb\u7bc9\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u958b\u767a\u74b0\u5883\u3092\u307e\u3060\u69cb\u7bc9\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30ac\u30a4\u30c9\u3092\u53c2\u7167\u3057\u3066\u3001\u304a\u4f7f\u3044\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\uff08Ubuntu\u3001CentOS\u3001Debian\u306a\u3069\uff09\u306b\u9069\u3057\u305f\u30ed\u30fc\u30ab\u30ebPython\u958b\u767a\u74b0\u5883\u3092\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u69cb\u7bc9\u3057\u3066\u304f\u3060\u3055\u3044\u3002.<\/p>\n<h2 id=\"break-statement\">Break\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/h2>\n<p>Python\u3067\u306f\u3001break\u6587\u3092\u4f7f\u3046\u3068\u3001\u5916\u90e8\u6761\u4ef6\u304c\u6e80\u305f\u3055\u308c\u305f\u3068\u304d\u306b\u30eb\u30fc\u30d7\u3092\u7d42\u4e86\u3067\u304d\u307e\u3059\u3002break\u6587\u306f\u3001\u30eb\u30fc\u30d7\u6587\u306e\u4e0b\u306e\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u3001\u901a\u5e38\u306fif\u6761\u4ef6\u6587\u306e\u5f8c\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002.<\/p>\n<p>for \u30eb\u30fc\u30d7\u3067 break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>number = 0\r\nfor number in range(10):\r\nif number == 5:\r\nbreak # break here\r\nprint('Number is ' + str(number))\r\nprint('Out of loop')<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u5c0f\u3055\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u306e\u5909\u6570\u756a\u53f7\u306f 0 \u306b\u521d\u671f\u5316\u3055\u308c\u307e\u3059\u3002\u6b21\u306b\u3001\u5909\u6570\u756a\u53f7\u304c 10 \u672a\u6e80\u306e\u5834\u5408\u306f\u3001 for \u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002.<\/p>\n<p>for \u30eb\u30fc\u30d7\u3067\u306f\u3001if \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u3088\u3063\u3066\u3001\u5909\u6570 number \u304c\u6574\u6570 5 \u306b\u7b49\u3057\u3044\u5834\u5408\u306b\u30eb\u30fc\u30d7\u304c\u4e2d\u65ad\u3055\u308c\u308b\u3068\u3044\u3046\u6761\u4ef6\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002for \u30eb\u30fc\u30d7\u306e\u4f7f\u7528\u65b9\u6cd5\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001Python \u3067 for() \u30eb\u30fc\u30d7\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306b\u95a2\u3059\u308b\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002.<\/p>\n<p>\u30eb\u30fc\u30d7\u5185\u306b\u306f print() \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3082\u3042\u308a\u3001\u3053\u308c\u306f break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5f8c\u306b\u3042\u308b\u305f\u3081\u3001\u30eb\u30fc\u30d7\u304c\u4e2d\u65ad\u3055\u308c\u308b\u307e\u3067 for \u30eb\u30fc\u30d7\u306e\u5404\u53cd\u5fa9\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002.<\/p>\n<p>\u30eb\u30fc\u30d7\u304b\u3089\u629c\u3051\u305f\u3053\u3068\u304c\u308f\u304b\u308b\u3088\u3046\u306b\u3001\u6700\u5f8c\u306e print() \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092 for \u30eb\u30fc\u30d7\u306e\u5916\u5074\u306b\u914d\u7f6e\u3057\u307e\u3057\u3087\u3046\u3002.<\/p>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b21\u306e\u51fa\u529b\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Output\r\nNumber is 0\r\nNumber is 1\r\nNumber is 2\r\nNumber is 3\r\nNumber is 4\r\nOut of loop<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u306f\u3001break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u6307\u793a\u3055\u308c\u3066\u3044\u308b\u3068\u304a\u308a\u3001\u6574\u6570\u304c 5 \u306b\u8a55\u4fa1\u3055\u308c\u308b\u3068\u30eb\u30fc\u30d7\u304c\u4e2d\u65ad\u3055\u308c\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002.<\/p>\n<p>break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30eb\u30fc\u30d7\u304b\u3089\u7d42\u4e86\u3055\u305b\u307e\u3059\u3002.<\/p>\n<h2 id=\"continue-statement\">\u7d99\u7d9a\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/h2>\n<p>continue \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30eb\u30fc\u30d7\u306e\u5916\u5074\u306e\u6761\u4ef6\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u305f\u90e8\u5206\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u306a\u304c\u3089\u3001\u30eb\u30fc\u30d7\u3092\u7d99\u7d9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30eb\u30fc\u30d7\u306e\u73fe\u5728\u306e\u53cd\u5fa9\u306f\u4e2d\u65ad\u3055\u308c\u307e\u3059\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u30eb\u30fc\u30d7\u306e\u5148\u982d\u306b\u623b\u308a\u307e\u3059\u3002.<\/p>\n<p>continue \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u3001\u30eb\u30fc\u30d7 \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4e0b\u306e\u30b3\u30fc\u30c9 \u30d6\u30ed\u30c3\u30af\u5185\u3001\u901a\u5e38\u306f if \u6761\u4ef6\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5f8c\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002.<\/p>\n<p>\u4e0a\u8a18\u306e break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8 \u30bb\u30af\u30b7\u30e7\u30f3\u3068\u540c\u3058 for \u30eb\u30fc\u30d7 \u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u7528\u3057\u3066\u3001break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4ee3\u308f\u308a\u306b continue \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>number = 0\r\nfor number in range(10):\r\nif number == 5:\r\ncontinue # continue here\r\nprint('Number is ' + str(number))\r\nprint('Out of loop')<\/code><\/pre>\n<\/div>\n<p>break \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4ee3\u308f\u308a\u306b continue \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306e\u9055\u3044\u306f\u3001\u5909\u6570 number \u304c 5 \u306b\u8a55\u4fa1\u3055\u308c\u305f\u3068\u304d\u306b\u3001\u4e2d\u65ad\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u30b3\u30fc\u30c9\u304c\u7d9a\u884c\u3055\u308c\u308b\u3053\u3068\u3067\u3059\u3002\u51fa\u529b\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Output\r\nNumber is 0\r\nNumber is 1\r\nNumber is 2\r\nNumber is 3\r\nNumber is 4\r\nNumber is 6\r\nNumber is 7\r\nNumber is 8\r\nNumber is 9\r\nOut of loop<\/code><\/pre>\n<\/div>\n<p>\u3053\u3053\u3067\u306f\u3001\u51fa\u529b\u306b\u6570\u5b57 5 \u306f\u51fa\u73fe\u3057\u307e\u305b\u3093\u304c\u3001\u30eb\u30fc\u30d7\u306f\u305d\u306e\u6642\u70b9\u304b\u3089\u7d99\u7d9a\u3055\u308c\u3001\u30eb\u30fc\u30d7\u3092\u7d42\u4e86\u3059\u308b\u524d\u306b\u6570\u5b57 6 \uff5e 10 \u306e\u884c\u3092\u51fa\u529b\u3057\u307e\u3059\u3002.<\/p>\n<p>continue \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6df1\u304f\u30cd\u30b9\u30c8\u3055\u308c\u305f\u6761\u4ef6\u30b3\u30fc\u30c9\u3092\u56de\u907f\u3057\u305f\u308a\u3001\u30b9\u30ad\u30c3\u30d7\u3059\u308b\u9805\u76ee\u3092\u524a\u9664\u3057\u3066\u30eb\u30fc\u30d7\u3092\u6700\u9069\u5316\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002.<\/p>\n<p>continue \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u3088\u308a\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u30eb\u30fc\u30d7\u5185\u306b\u73fe\u308c\u308b\u7279\u5b9a\u306e\u8981\u7d20\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u304c\u3001\u305d\u306e\u5f8c\u30eb\u30fc\u30d7\u306e\u6b8b\u308a\u306e\u90e8\u5206\u306f\u7d99\u7d9a\u3057\u307e\u3059\u3002.<\/p>\n<h2 id=\"pass-statement\">\u30d1\u30b9\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8<\/h2>\n<p>\u5916\u90e8\u6761\u4ef6\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u305f\u5834\u5408\u3001pass\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30eb\u30fc\u30d7\u306b\u4e00\u5207\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u3053\u3068\u306a\u304f\u6761\u4ef6\u3092\u51e6\u7406\u3067\u304d\u307e\u3059\u3002\u5931\u6557\u307e\u305f\u306f\u4ed6\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u304c\u767a\u751f\u3057\u306a\u3044\u9650\u308a\u3001\u3059\u3079\u3066\u306e\u30b3\u30fc\u30c9\u306f\u8aad\u307f\u53d6\u308a\u3092\u7d99\u7d9a\u3057\u307e\u3059\u3002.<\/p>\n<p>\u4ed6\u306e\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3068\u540c\u69d8\u306b\u3001pass \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f loop \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4e0b\u306e\u30b3\u30fc\u30c9 \u30d6\u30ed\u30c3\u30af\u5185\u3001\u901a\u5e38\u306f if \u6761\u4ef6\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u5f8c\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u3002.<\/p>\n<p>\u4e0a\u8a18\u3068\u540c\u3058\u30b3\u30fc\u30c9 \u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3057\u3066\u3001break \u307e\u305f\u306f continue \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092 pass \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u7f6e\u304d\u63db\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>number = 0\r\nfor number in range(10):\r\nif number == 5:\r\npass # pass here\r\nprint('Number is ' + str(number))\r\nprint('Out of loop')<\/code><\/pre>\n<\/div>\n<p>if \u6761\u4ef6\u6587\u306e\u5f8c\u306e pass \u6587\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u30eb\u30fc\u30d7\u306e\u5b9f\u884c\u3092\u7d99\u7d9a\u3057\u3001\u53cd\u5fa9\u306e 1 \u56de\u4e2d\u306b\u5909\u6570 number \u304c 5 \u306b\u8a55\u4fa1\u3055\u308c\u308b\u3053\u3068\u3092\u7121\u8996\u3059\u308b\u3088\u3046\u306b\u6307\u793a\u3057\u307e\u3059\u3002.<\/p>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6b21\u306e\u51fa\u529b\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-plain\" data-lang=\"Plain Text\"><code>Output\r\nNumber is 0\r\nNumber is 1\r\nNumber is 2\r\nNumber is 3\r\nNumber is 4\r\nNumber is 5\r\nNumber is 6\r\nNumber is 7\r\nNumber is 8\r\nNumber is 9\r\nOut of loop<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067pass\u6587\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6761\u4ef6\u6587\u304c\u306a\u3044\u5834\u5408\u3068\u5168\u304f\u540c\u3058\u3088\u3046\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002pass\u6587\u306f\u3001\u6761\u4ef6\u6587\u3092\u7121\u8996\u3057\u3066\u901a\u5e38\u901a\u308a\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u3092\u7d99\u7d9a\u3059\u308b\u3088\u3046\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u6307\u793a\u3057\u307e\u3059\u3002.<\/p>\n<p>pass \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306f\u6700\u5c0f\u9650\u306e\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u305f\u308a\u3001\u65b0\u3057\u3044\u30b3\u30fc\u30c9\u306b\u53d6\u308a\u7d44\u3093\u3067\u8a73\u7d30\u3092\u8a70\u3081\u308b\u524d\u306b\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u30ec\u30d9\u30eb\u3067\u8003\u3048\u308b\u3068\u304d\u306b\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u3068\u3057\u3066\u6a5f\u80fd\u3057\u305f\u308a\u3067\u304d\u307e\u3059\u3002.<\/p>\n<h2 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\">\u7d50\u679c<\/h2>\n<p>Python \u306e break\u3001continue\u3001pass \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u5185\u3067 for \u30eb\u30fc\u30d7\u3068 while \u30eb\u30fc\u30d7\u3092\u3088\u308a\u52b9\u679c\u7684\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002.<\/p>","protected":false},"excerpt":{"rendered":"\u306f\u3058\u3081\u306b Python \u3067 for \u30eb\u30fc\u30d7\u3068 while \u30eb\u30fc\u30d7\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30bf\u30b9\u30af\u3092\u81ea\u52d5\u5316\u3057\u305f\u308a\u2026","protected":false},"author":1,"featured_media":16542,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"Break \u0648 Continue \u0648 Pass \u062f\u0631 Python","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"[]","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193,363],"tags":[376],"class_list":{"0":"post-16539","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"category-programming","9":"tag-python"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062d\u0644\u0642\u0647\u200c\u0647\u0627\u06cc for \u0648 \u062d\u0644\u0642\u0647\u200c\u0647\u0627\u06cc while \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u0648\u0638\u0627\u06cc\u0641 \u0631\u0627 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0648&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-18T22:01:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/12\/19013025\/Python-Break-Pass-Continue.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"7\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python\",\"datePublished\":\"2024-12-18T22:01:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/\"},\"wordCount\":68,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/19013025\\\/Python-Break-Pass-Continue.jpg\",\"keywords\":[\"Python\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/\",\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/19013025\\\/Python-Break-Pass-Continue.jpg\",\"datePublished\":\"2024-12-18T22:01:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/19013025\\\/Python-Break-Pass-Continue.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/12\\\/19013025\\\/Python-Break-Pass-Continue.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/ja\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python\u3067\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u3059\u308b\u969b\u306eContinue\u3001Break\u3001Pass\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4f7f\u3044\u65b9 - ITPiran Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/","og_locale":"ja_JP","og_type":"article","og_title":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062d\u0644\u0642\u0647\u200c\u0647\u0627\u06cc for \u0648 \u062d\u0644\u0642\u0647\u200c\u0647\u0627\u06cc while \u062f\u0631 \u067e\u0627\u06cc\u062a\u0648\u0646 \u0628\u0647 \u0634\u0645\u0627 \u0627\u0645\u06a9\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u0648\u0638\u0627\u06cc\u0641 \u0631\u0627 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0648&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-12-18T22:01:53+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/12\/19013025\/Python-Break-Pass-Continue.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"7\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python","datePublished":"2024-12-18T22:01:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/"},"wordCount":68,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/12\/19013025\/Python-Break-Pass-Continue.jpg","keywords":["Python"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/","name":"Python\u3067\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u3059\u308b\u969b\u306eContinue\u3001Break\u3001Pass\u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306e\u4f7f\u3044\u65b9 - ITPiran Blog","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/12\/19013025\/Python-Break-Pass-Continue.jpg","datePublished":"2024-12-18T22:01:53+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/12\/19013025\/Python-Break-Pass-Continue.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/12\/19013025\/Python-Break-Pass-Continue.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-break-continue-and-pass-statements-when-working-with-loops-in-python-3-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0628\u0627\u0631\u062a Continue\u060c Break \u0648 Pass \u0647\u0646\u06af\u0627\u0645 \u06a9\u0627\u0631 \u0628\u0627 \u062d\u0644\u0642\u0647 \u0647\u0627 \u062f\u0631 Python"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran\u30d6\u30ed\u30b0","description":"\u30a4\u30e9\u30f3\u306e\u6301\u7d9a\u53ef\u80fd\u306a\u8cbf\u6613\u306b\u95a2\u3059\u308b\u30cb\u30e5\u30fc\u30b9\u3068\u8a18\u4e8b","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"\u6301\u7d9a\u53ef\u80fd\u306a\u30a4\u30e9\u30f3\u30d3\u30b8\u30cd\u30b9\u30d6\u30ed\u30b0","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"\u7ba1\u7406\u8005","url":"https:\/\/www.itpiran.net\/blog\/ja\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/16539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/comments?post=16539"}],"version-history":[{"count":1,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/16539\/revisions"}],"predecessor-version":[{"id":16543,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/16539\/revisions\/16543"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media\/16542"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media?parent=16539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/categories?post=16539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/tags?post=16539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}