{"id":42972,"date":"2025-07-29T10:49:05","date_gmt":"2025-07-29T01:49:05","guid":{"rendered":"https:\/\/techgym.jp\/?p=42972"},"modified":"2025-07-29T10:49:09","modified_gmt":"2025-07-29T01:49:09","slug":"python-while-not","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/python-while-not\/","title":{"rendered":"Python while not\u6587\u306e\u5b8c\u5168\u30ac\u30a4\u30c9\uff1a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u4f8b\u307e\u3067\u5fb9\u5e95\u89e3\u8aac"},"content":{"rendered":"\n<p>\u00a0<\/p>\n<p>Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u3001\u6761\u4ef6\u306b\u57fa\u3065\u3044\u305f\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u306f\u975e\u5e38\u306b\u91cd\u8981\u306a\u6982\u5ff5\u3067\u3059\u3002\u305d\u306e\u4e2d\u3067\u3082\u300cwhile not\u300d\u6587\u306f\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u304c\u507d\uff08False\uff09\u3067\u3042\u308b\u9593\u3001\u51e6\u7406\u3092\u7d99\u7d9a\u3059\u308b\u969b\u306b\u4f7f\u7528\u3055\u308c\u308b\u5f37\u529b\u306a\u5236\u5fa1\u69cb\u6587\u3067\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u521d\u5fc3\u8005\u304b\u3089\u4e2d\u7d1a\u8005\u307e\u3067\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u3001while not\u6587\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u304b\u3089\u5b9f\u8df5\u7684\u306a\u5fdc\u7528\u4f8b\u307e\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h2>while not\u6587\u3068\u306f<\/h2>\n<p>while not\u6587\u306f\u3001\u6307\u5b9a\u3057\u305f\u6761\u4ef6\u304c\u507d\uff08False\uff09\u3067\u3042\u308b\u9650\u308a\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u7d9a\u3051\u308b\u5236\u5fa1\u6587\u3067\u3059\u3002\u901a\u5e38\u306ewhile\u6587\u304c\u6761\u4ef6\u304c\u771f\uff08True\uff09\u306e\u9593\u5b9f\u884c\u3055\u308c\u308b\u306e\u306b\u5bfe\u3057\u3001while not\u6587\u306f\u6761\u4ef6\u304c\u507d\u306e\u9593\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u57fa\u672c\u69cb\u6587<\/h3>\n<pre><code class=\"language-python\">while not \u6761\u4ef6:\n    \u5b9f\u884c\u3059\u308b\u51e6\u7406\n<\/code><\/pre>\n<h2>while not\u6587\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>\u4f8b1\uff1a\u30ea\u30b9\u30c8\u304c\u7a7a\u3067\u306a\u3044\u9593\u306e\u51e6\u7406<\/h3>\n<pre><code class=\"language-python\">items = [1, 2, 3, 4, 5]\nwhile not len(items) == 0:\n    print(f\"\u6b8b\u308a: {items.pop()}\")\n<\/code><\/pre>\n<h3>\u4f8b2\uff1a\u30d5\u30e9\u30b0\u3092\u4f7f\u3063\u305f\u5236\u5fa1<\/h3>\n<pre><code class=\"language-python\">finished = False\ncount = 0\nwhile not finished:\n    count += 1\n    if count &gt;= 5:\n        finished = True\n    print(f\"\u30ab\u30a6\u30f3\u30c8: {count}\")\n<\/code><\/pre>\n<h2>while\u6587\u3068\u306e\u9055\u3044<\/h2>\n<p>while\u6587\u3068while not\u6587\u306e\u4e3b\u306a\u9055\u3044\u306f\u3001\u6761\u4ef6\u306e\u8a55\u4fa1\u65b9\u6cd5\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>while\u6587\u306e\u5834\u5408<\/h3>\n<pre><code class=\"language-python\"># \u6761\u4ef6\u304cTrue\u306e\u9593\u5b9f\u884c\nx = 0\nwhile x &lt; 5:\n    print(x)\n    x += 1\n<\/code><\/pre>\n<h3>while not\u6587\u306e\u5834\u5408<\/h3>\n<pre><code class=\"language-python\"># \u6761\u4ef6\u304cFalse\u306e\u9593\u5b9f\u884c\nx = 0\nwhile not x &gt;= 5:\n    print(x)\n    x += 1\n<\/code><\/pre>\n<h2>\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u4f8b<\/h2>\n<h3>\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306e\u691c\u8a3c<\/h3>\n<pre><code class=\"language-python\">user_input = \"\"\nwhile not user_input.lower() in [\"yes\", \"no\"]:\n    user_input = input(\"yes \u307e\u305f\u306f no \u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \")\nprint(f\"\u5165\u529b\u3055\u308c\u305f\u5024: {user_input}\")\n<\/code><\/pre>\n<h3>\u30d5\u30a1\u30a4\u30eb\u51e6\u7406\u3067\u306e\u6d3b\u7528<\/h3>\n<pre><code class=\"language-python\">lines = [\"line1\", \"line2\", \"line3\"]\nwhile not len(lines) == 0:\n    current_line = lines.pop(0)\n    print(f\"\u51e6\u7406\u4e2d: {current_line}\")\n<\/code><\/pre>\n<h3>\u6761\u4ef6\u4ed8\u304d\u30eb\u30fc\u30d7<\/h3>\n<pre><code class=\"language-python\">numbers = [1, 3, 5, 8, 9]\nwhile not any(x % 2 == 0 for x in numbers):\n    numbers.append(int(input(\"\u5076\u6570\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: \")))\nprint(\"\u5076\u6570\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\uff01\")\n<\/code><\/pre>\n<h2>while not\u6587\u3092\u4f7f\u3046\u969b\u306e\u6ce8\u610f\u70b9<\/h2>\n<h3>1. \u7121\u9650\u30eb\u30fc\u30d7\u306e\u56de\u907f<\/h3>\n<p>\u6761\u4ef6\u304c\u6c38\u7d9a\u7684\u306b\u507d\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u7121\u9650\u30eb\u30fc\u30d7\u306b\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-python\"># \u5371\u967a\u306a\u4f8b\uff08\u7121\u9650\u30eb\u30fc\u30d7\u306e\u53ef\u80fd\u6027\uff09\nx = 10\nwhile not x &lt; 5:\n    print(\"\u3053\u306e\u30eb\u30fc\u30d7\u306f\u7d42\u308f\u3089\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\")\n    # x -= 1  # \u3053\u306e\u884c\u304c\u306a\u3044\u3068\u7121\u9650\u30eb\u30fc\u30d7\n<\/code><\/pre>\n<h3>2. \u6761\u4ef6\u306e\u660e\u78ba\u6027<\/h3>\n<p>\u6761\u4ef6\u306f\u53ef\u80fd\u306a\u9650\u308a\u660e\u78ba\u3067\u7406\u89e3\u3057\u3084\u3059\u3044\u3082\u306e\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"language-python\"># \u826f\u3044\u4f8b\ndata_ready = False\nwhile not data_ready:\n    data_ready = check_data_status()\n\n# \u907f\u3051\u308b\u3079\u304d\u4f8b\nwhile not not not condition:  # \u8907\u96d1\u3059\u304e\u308b\u6761\u4ef6\n    pass\n<\/code><\/pre>\n<h2>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u8003\u616e<\/h2>\n<p>while not\u6587\u3092\u4f7f\u7528\u3059\u308b\u969b\u306f\u3001\u30eb\u30fc\u30d7\u5185\u3067\u306e\u51e6\u7406\u52b9\u7387\u3082\u91cd\u8981\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-python\"># \u52b9\u7387\u7684\u306a\u4f8b\nitems = [1, 2, 3, 4, 5]\nwhile not len(items) == 0:\n    item = items.pop()  # O(1)\u64cd\u4f5c\n    process(item)\n\n# \u975e\u52b9\u7387\u306a\u4f8b\nitems = [1, 2, 3, 4, 5]\nwhile not len(items) == 0:\n    item = items.pop(0)  # O(n)\u64cd\u4f5c\n    process(item)\n<\/code><\/pre>\n<h2>\u4ed6\u306e\u5236\u5fa1\u6587\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h2>\n<h3>break\u6587\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h3>\n<pre><code class=\"language-python\">count = 0\nwhile not count &gt; 10:\n    count += 1\n    if count == 5:\n        break  # \u30eb\u30fc\u30d7\u3092\u5f37\u5236\u7d42\u4e86\n    print(count)\n<\/code><\/pre>\n<h3>continue\u6587\u3068\u306e\u7d44\u307f\u5408\u308f\u305b<\/h3>\n<pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]\nwhile not len(numbers) == 0:\n    num = numbers.pop(0)\n    if num % 2 == 0:\n        continue  # \u5076\u6570\u306f\u30b9\u30ad\u30c3\u30d7\n    print(f\"\u5947\u6570: {num}\")\n<\/code><\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>while not\u6587\u306f\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u304c\u507d\u3067\u3042\u308b\u9593\u3001\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059\u305f\u3081\u306ePython\u306e\u5236\u5fa1\u69cb\u6587\u3067\u3059\u3002\u901a\u5e38\u306ewhile\u6587\u3068\u306f\u9006\u306e\u8ad6\u7406\u3067\u52d5\u4f5c\u3057\u3001\u3088\u308a\u76f4\u611f\u7684\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u308b\u5834\u9762\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u9069\u5207\u306b\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u8aad\u307f\u3084\u3059\u304f\u52b9\u7387\u7684\u306a\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\u304c\u3001\u7121\u9650\u30eb\u30fc\u30d7\u306b\u6ce8\u610f\u3057\u3001\u6761\u4ef6\u306f\u660e\u78ba\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u4f8b\u3092\u53c2\u8003\u306b\u3001\u5b9f\u969b\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067while not\u6587\u3092\u6d3b\u7528\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u3088\u308a\u8907\u96d1\u306a\u5236\u5fa1\u30d5\u30ed\u30fc\u3092\u5b9f\u88c5\u3059\u308b\u969b\u306e\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3068\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u25a0\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"xukGPuIUzF\"><a href=\"https:\/\/techgym.jp\/column\/ori-app\/\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/column\/ori-app\/embed\/#?secret=Rwiyk1g562#?secret=xukGPuIUzF\" data-secret=\"xukGPuIUzF\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\u306f\u3058\u3081\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<p>\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821\u3067\u5148\u884c\u958b\u59cb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"LH9duHtgCd\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/about\/ai-driven-development\/embed\/#?secret=W9dLO7DZnq#?secret=LH9duHtgCd\" data-secret=\"LH9duHtgCd\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/p>\n\n\n\n<p>\u300c\u6b66\u7530\u587e\u300d\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7248\u3068\u3044\u3048\u3070\u300c\u30c6\u30c3\u30af\u30b8\u30e0\u300d\u3002<br>\u8b1b\u7fa9\u52d5\u753b\u306a\u3057\u3001\u6559\u79d1\u66f8\u306a\u3057\u3002\u300c\u9032\u6357\u7ba1\u7406\u3068\u30b3\u30fc\u30c1\u30f3\u30b0\u300d\u3067\u52b9\u7387\u5b66\u7fd2\u3002<br>\u3088\u308a\u65e9\u304f\u3001\u3088\u308a\u5b89\u304f\u3001\u3057\u304b\u3082\u5bfe\u9762\u578b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"S3MaYSubIu\"><a href=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/\">\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/embed\/#?secret=08btWGMK6k#?secret=S3MaYSubIu\" data-secret=\"S3MaYSubIu\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u77ed\u671f\u8b1b\u7fd2\uff1e5\u65e5\u30675\u4e07\u5186\u306e\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u958b\u50ac\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"HTlhToV2sU\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/embed\/#?secret=QdOS5TgEur#?secret=HTlhToV2sU\" data-secret=\"HTlhToV2sU\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u67081\u958b\u50ac\uff1e\u653e\u9001\u4f5c\u5bb6\u306b\u3088\u308b\u6620\u50cf\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u990a\u6210\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"enUsh4A06a\"><a href=\"https:\/\/techgym.jp\/event\/video_director\/\">\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/video_director\/embed\/#?secret=rI1NlCDmxF#?secret=enUsh4A06a\" data-secret=\"enUsh4A06a\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u30aa\u30f3\u30e9\u30a4\u30f3\u7121\u6599\uff1e\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"qSkkGycGkk\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo_python\/embed\/#?secret=sJP41m2W9l#?secret=qSkkGycGkk\" data-secret=\"qSkkGycGkk\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u3001\u6761\u4ef6\u306b\u57fa\u3065\u3044\u305f\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u306f\u975e\u5e38\u306b\u91cd\u8981\u306a\u6982\u5ff5\u3067\u3059\u3002\u305d\u306e\u4e2d\u3067\u3082\u300cwhile not\u300d\u6587\u306f\u3001\u7279\u5b9a\u306e\u6761\u4ef6\u304c\u507d\uff08False\uff09\u3067\u3042\u308b\u9593\u3001\u51e6\u7406\u3092\u7d99\u7d9a\u3059\u308b\u969b\u306b\u4f7f\u7528\u3055\u308c\u308b\u5f37\u529b\u306a\u5236\u5fa1\u69cb\u6587\u3067\u3059\u3002 \u672c\u8a18 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":42501,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-42972","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":81,"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/07\/f3403acf5c65aedec0dba821c4c26404.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/42972","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/comments?post=42972"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/42972\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media\/42501"}],"wp:attachment":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media?parent=42972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=42972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=42972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}