{"id":49546,"date":"2025-10-13T21:43:30","date_gmt":"2025-10-13T12:43:30","guid":{"rendered":"https:\/\/techgym.jp\/?p=49546"},"modified":"2025-10-18T15:47:10","modified_gmt":"2025-10-18T06:47:10","slug":"bool","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/bool\/","title":{"rendered":"bool\u578b\uff08\u30d6\u30fc\u30eb\u578b\uff09\u3068\u306f\uff1f\u521d\u5fc3\u8005\u5411\u3051\u306b\u57fa\u790e\u304b\u3089\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3010Python\u5165\u9580\u3011"},"content":{"rendered":"\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u7fd2\u3059\u308b\u4e0a\u3067\u3001bool\u578b\uff08\u30d6\u30fc\u30eb\u578b\uff09\u306f\u6700\u3082\u57fa\u672c\u7684\u304b\u3064\u91cd\u8981\u306a\u30c7\u30fc\u30bf\u578b\u306e\u4e00\u3064\u3067\u3059\u3002\u6761\u4ef6\u5206\u5c90\u3084\u30eb\u30fc\u30d7\u51e6\u7406\u3001\u30c7\u30fc\u30bf\u306e\u691c\u8a3c\u306a\u3069\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u3042\u3089\u3086\u308b\u5834\u9762\u3067\u4f7f\u7528\u3055\u308c\u308b\u305f\u3081\u3001\u6b63\u3057\u304f\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u4e0a\u9054\u3078\u306e\u8fd1\u9053\u3068\u306a\u308a\u307e\u3059\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001Python\u521d\u5fc3\u8005\u306e\u65b9\u306b\u5411\u3051\u3066\u3001bool\u578b\u306e\u57fa\u790e\u304b\u3089\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u307e\u3067\u3001\u308f\u304b\u308a\u3084\u3059\u304f\u4e01\u5be7\u306b\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>bool\u578b\uff08\u30d6\u30fc\u30eb\u578b\uff09\u3068\u306f\u4f55\u304b<\/h2>\n<p>bool\u578b\u306f\u3001\u771f\u507d\u5024\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u578b\u3067\u3059\u3002\u771f\u507d\u5024\u3068\u306f\u300c\u771f\uff08\u6b63\u3057\u3044\uff09\u300d\u304b\u300c\u507d\uff08\u6b63\u3057\u304f\u306a\u3044\uff09\u300d\u306e\u3069\u3061\u3089\u304b\u4e00\u65b9\u306e\u72b6\u614b\u3092\u8868\u3059\u3082\u306e\u3067\u3001Python\u3067\u306f<code>True<\/code>\uff08\u771f\uff09\u3068<code>False<\/code>\uff08\u507d\uff09\u3068\u3044\u30462\u3064\u306e\u5024\u306e\u307f\u304c\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u4e8c\u5024\u6027\u3053\u305d\u304c\u3001bool\u578b\u306e\u6700\u5927\u306e\u7279\u5fb4\u3067\u3059\u3002\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u4e16\u754c\u3067\u306f\u3001\u591a\u304f\u306e\u5224\u65ad\u304c\u300cYes\u300d\u304b\u300cNo\u300d\u3001\u300c\u6210\u529f\u300d\u304b\u300c\u5931\u6557\u300d\u3001\u300c\u5b58\u5728\u3059\u308b\u300d\u304b\u300c\u5b58\u5728\u3057\u306a\u3044\u300d\u3068\u3044\u3063\u305f\u4e8c\u629e\u3067\u8868\u73fe\u3067\u304d\u308b\u305f\u3081\u3001bool\u578b\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u6975\u3081\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002<\/p>\n<h2>bool\u578b\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>True\u3068False\u306e\u57fa\u790e\u77e5\u8b58<\/h3>\n<p>Python\u306b\u304a\u3044\u3066\u3001<code>True<\/code>\u3068<code>False<\/code>\u306f\u4e88\u7d04\u8a9e\uff08\u30ad\u30fc\u30ef\u30fc\u30c9\uff09\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001\u5fc5\u305a\u5148\u982d\u6587\u5b57\u3092\u5927\u6587\u5b57\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5c0f\u6587\u5b57\u3067<code>true<\/code>\u3084<code>false<\/code>\u3068\u66f8\u304f\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u305f\u3081\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\"># \u6b63\u3057\u3044\u66f8\u304d\u65b9\nresult = True\nis_valid = False\n\n# \u30a8\u30e9\u30fc\u306b\u306a\u308b\u66f8\u304d\u65b9\uff08\u5c0f\u6587\u5b57\u306fNG\uff09\n# result = true  # NameError<\/code><\/code><\/pre>\n<\/div>\n<h3>bool\u578b\u306e\u78ba\u8a8d\u65b9\u6cd5<\/h3>\n<p>\u5909\u6570\u304cbool\u578b\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001<code>type()<\/code>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\">value = True\nprint(type(value))  # &lt;class 'bool'&gt;<\/code><\/code><\/pre>\n<\/div>\n<h2>\u6bd4\u8f03\u6f14\u7b97\u5b50\u3068bool\u578b<\/h2>\n<p>bool\u578b\u304c\u6700\u3082\u3088\u304f\u4f7f\u308f\u308c\u308b\u306e\u304c\u3001\u6bd4\u8f03\u6f14\u7b97\u306b\u3088\u3063\u3066\u6761\u4ef6\u3092\u8a55\u4fa1\u3059\u308b\u5834\u9762\u3067\u3059\u3002Python\u306b\u306f\u69d8\u3005\u306a\u6bd4\u8f03\u6f14\u7b97\u5b50\u304c\u3042\u308a\u3001\u305d\u308c\u305e\u308c\u306e\u6f14\u7b97\u7d50\u679c\u306fbool\u578b\u3068\u3057\u3066\u8fd4\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u7b49\u4fa1\u6bd4\u8f03<\/h3>\n<p>\u7b49\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b\u969b\u306f<code>==<\/code>\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4e00\u65b9\u3001\u7b49\u3057\u304f\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f<code>!=<\/code>\u6f14\u7b97\u5b50\u3092\u4f7f\u3044\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u304c\u3088\u304f\u9593\u9055\u3048\u308b\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u3001\u4ee3\u5165\u306e<code>=<\/code>\u3068\u6bd4\u8f03\u306e<code>==<\/code>\u3092\u6df7\u540c\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<code>=<\/code>\u306f\u5024\u3092\u4ee3\u5165\u3059\u308b\u6f14\u7b97\u5b50\u3067\u3042\u308a\u3001<code>==<\/code>\u306f\u5024\u304c\u7b49\u3057\u3044\u304b\u3092\u6bd4\u8f03\u3059\u308b\u6f14\u7b97\u5b50\u3067\u3059\u3002\u3053\u306e\u9055\u3044\u3092\u3057\u3063\u304b\u308a\u7406\u89e3\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u5927\u5c0f\u6bd4\u8f03<\/h3>\n<p>\u6570\u5024\u306e\u5927\u5c0f\u3092\u6bd4\u8f03\u3059\u308b\u969b\u306b\u306f\u3001<code>&gt;<\/code>\uff08\u3088\u308a\u5927\u304d\u3044\uff09\u3001<code>&lt;<\/code>\uff08\u3088\u308a\u5c0f\u3055\u3044\uff09\u3001<code>&gt;=<\/code>\uff08\u4ee5\u4e0a\uff09\u3001<code>&lt;=<\/code>\uff08\u4ee5\u4e0b\uff09\u3068\u3044\u3063\u305f\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6f14\u7b97\u5b50\u306f\u6570\u5024\u3060\u3051\u3067\u306a\u304f\u3001\u6587\u5b57\u5217\u306e\u8f9e\u66f8\u9806\u6bd4\u8f03\u306a\u3069\u306b\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6587\u5b57\u5217\u3092\u6bd4\u8f03\u3059\u308b\u5834\u5408\u3001\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u3084Unicode\u306e\u30b3\u30fc\u30c9\u30dd\u30a4\u30f3\u30c8\u9806\u3067\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u300capple\u300d\u306f\u300cbanana\u300d\u3088\u308a\u3082\u5c0f\u3055\u3044\u3068\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u8ad6\u7406\u6f14\u7b97\u5b50\u306b\u3088\u308bbool\u5024\u306e\u7d44\u307f\u5408\u308f\u305b<\/h2>\n<p>\u8907\u6570\u306e\u6761\u4ef6\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u5224\u5b9a\u3057\u305f\u3044\u5834\u5408\u3001\u8ad6\u7406\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002Python\u306b\u306f<code>and<\/code>\u3001<code>or<\/code>\u3001<code>not<\/code>\u3068\u3044\u30463\u3064\u306e\u8ad6\u7406\u6f14\u7b97\u5b50\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>and\u6f14\u7b97\u5b50<\/h3>\n<p><code>and<\/code>\u6f14\u7b97\u5b50\u306f\u3001\u4e21\u5074\u306e\u6761\u4ef6\u304c\u4e21\u65b9\u3068\u3082\u771f\u3067\u3042\u308b\u5834\u5408\u306b\u306e\u307f<code>True<\/code>\u3092\u8fd4\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u300cA\u304b\u3064B\u300d\u3068\u3044\u3046\u6761\u4ef6\u3092\u8868\u73fe\u3057\u307e\u3059\u3002\u3069\u3061\u3089\u304b\u4e00\u65b9\u3067\u3082\u507d\u3067\u3042\u308c\u3070\u3001\u7d50\u679c\u306f\u507d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u52d9\u3067\u306f\u3001\u8907\u6570\u306e\u6761\u4ef6\u3092\u3059\u3079\u3066\u6e80\u305f\u3059\u5fc5\u8981\u304c\u3042\u308b\u5834\u9762\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u300c\u304b\u3064\u300d\u7ba1\u7406\u8005\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u306b\u306e\u307f\u3001\u7279\u5b9a\u306e\u64cd\u4f5c\u3092\u8a31\u53ef\u3059\u308b\u3068\u3044\u3063\u305f\u5236\u5fa1\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>or\u6f14\u7b97\u5b50<\/h3>\n<p><code>or<\/code>\u6f14\u7b97\u5b50\u306f\u3001\u3069\u3061\u3089\u304b\u4e00\u65b9\u3067\u3082\u771f\u3067\u3042\u308c\u3070<code>True<\/code>\u3092\u8fd4\u3057\u307e\u3059\u3002\u300cA\u307e\u305f\u306fB\u300d\u3068\u3044\u3046\u6761\u4ef6\u3092\u8868\u73fe\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002\u4e21\u65b9\u3068\u3082\u507d\u306e\u5834\u5408\u306e\u307f\u3001\u7d50\u679c\u304c\u507d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u30a8\u30e9\u30fc\u51e6\u7406\u306b\u304a\u3044\u3066\u300c\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u300d\u307e\u305f\u306f\u300c\u8aad\u307f\u53d6\u308a\u6a29\u9650\u304c\u306a\u3044\u300d\u3068\u3044\u3046\u8907\u6570\u306e\u30a8\u30e9\u30fc\u6761\u4ef6\u306e\u3044\u305a\u308c\u304b\u306b\u8a72\u5f53\u3059\u308b\u5834\u5408\u306b\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3068\u3044\u3063\u305f\u4f7f\u3044\u65b9\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>not\u6f14\u7b97\u5b50<\/h3>\n<p><code>not<\/code>\u6f14\u7b97\u5b50\u306f\u3001bool\u5024\u3092\u53cd\u8ee2\u3055\u305b\u307e\u3059\u3002\u771f\u3092\u507d\u306b\u3001\u507d\u3092\u771f\u306b\u5909\u63db\u3059\u308b\u6f14\u7b97\u5b50\u3067\u3059\u3002\u6761\u4ef6\u306e\u5426\u5b9a\u3092\u8868\u73fe\u3057\u305f\u3044\u5834\u5408\u306b\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u300c\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u300d\u3092\u5224\u5b9a\u3057\u305f\u3044\u6642\u3001<code>not is_logged_in<\/code>\u3068\u66f8\u304f\u3053\u3068\u3067\u3001\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u8aad\u307f\u3084\u3059\u3044\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>Truthy\u306a\u5024\u3068Falsy\u306a\u5024\u306e\u6982\u5ff5<\/h2>\n<p>Python\u306b\u306f\u3001bool\u578b\u4ee5\u5916\u306e\u30c7\u30fc\u30bf\u578b\u3067\u3042\u3063\u3066\u3082\u3001\u6761\u4ef6\u5224\u5b9a\u306e\u969b\u306b\u771f\u307e\u305f\u306f\u507d\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u7279\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u300cTruthy\u300d\uff08\u771f\u3068\u898b\u306a\u3055\u308c\u308b\uff09\u3001\u300cFalsy\u300d\uff08\u507d\u3068\u898b\u306a\u3055\u308c\u308b\uff09\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n<h3>Falsy\u306a\u5024\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3082\u306e<\/h3>\n<p>\u4ee5\u4e0b\u306e\u5024\u306f\u3001\u6761\u4ef6\u5224\u5b9a\u306b\u304a\u3044\u3066<code>False<\/code>\u3068\u3057\u3066\u6271\u308f\u308c\u307e\u3059\uff1a<\/p>\n<ul>\n<li><code>False<\/code>\u305d\u306e\u3082\u306e<\/li>\n<li>\u6570\u5024\u306e<code>0<\/code>\uff08\u6574\u6570\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3068\u3082\uff09<\/li>\n<li>\u7a7a\u306e\u6587\u5b57\u5217<code>\"\"<\/code>\u307e\u305f\u306f<code>''<\/code><\/li>\n<li>\u7a7a\u306e\u30ea\u30b9\u30c8<code>[]<\/code><\/li>\n<li>\u7a7a\u306e\u30bf\u30d7\u30eb<code>()<\/code><\/li>\n<li>\u7a7a\u306e\u8f9e\u66f8<code>{}<\/code><\/li>\n<li>\u7a7a\u306e\u96c6\u5408<code>set()<\/code><\/li>\n<li><code>None<\/code><\/li>\n<\/ul>\n<p>\u3053\u306e\u7279\u6027\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u7c21\u6f54\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30ea\u30b9\u30c8\u304c\u7a7a\u3067\u306a\u3044\u304b\u3092\u78ba\u8a8d\u3059\u308b\u969b\u3001<code>if len(my_list) &gt; 0:<\/code>\u3068\u66f8\u304f\u4ee3\u308f\u308a\u306b\u3001<code>if my_list:<\/code>\u3068\u66f8\u304f\u3060\u3051\u3067\u540c\u3058\u5224\u5b9a\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h3>Truthy\u306a\u5024\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3082\u306e<\/h3>\n<p>\u4e0a\u8a18\u306eFalsy\u306a\u5024\u4ee5\u5916\u306e\u3059\u3079\u3066\u306e\u5024\u306f\u3001\u57fa\u672c\u7684\u306bTruthy\u3068\u3057\u3066\u6271\u308f\u308c\u307e\u3059\u3002\u3064\u307e\u308a\u30010\u4ee5\u5916\u306e\u6570\u5024\u3001\u7a7a\u3067\u306a\u3044\u6587\u5b57\u5217\u3001\u8981\u7d20\u304c1\u3064\u3067\u3082\u5165\u3063\u3066\u3044\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306a\u3069\u306f\u3001\u3059\u3079\u3066\u771f\u3068\u3057\u3066\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>bool\u578b\u3078\u306e\u578b\u5909\u63db<\/h2>\n<p>\u4ed6\u306e\u30c7\u30fc\u30bf\u578b\u304b\u3089bool\u578b\u3078\u5909\u63db\u3059\u308b\u306b\u306f\u3001<code>bool()<\/code>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u306e\u95a2\u6570\u306f\u3001\u5f15\u6570\u3068\u3057\u3066\u6e21\u3055\u308c\u305f\u5024\u3092Truthy\/Falsy\u306e\u898f\u5247\u306b\u5f93\u3063\u3066<code>True<\/code>\u307e\u305f\u306f<code>False<\/code>\u306b\u5909\u63db\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code><code class=\"language-python\"># \u6570\u5024\u306e\u5909\u63db\nprint(bool(1))      # True\nprint(bool(0))      # False\nprint(bool(-5))     # True\n\n# \u6587\u5b57\u5217\u306e\u5909\u63db\nprint(bool(\"Hello\"))  # True\nprint(bool(\"\"))       # False\n\n# \u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u5909\u63db\nprint(bool([1, 2]))   # True\nprint(bool([]))       # False<\/code><\/code><\/pre>\n<\/div>\n<pre>\u3053\u306e\u578b\u5909\u63db\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u306e\u691c\u8a3c\u3084\u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u3092\u3088\u308a\u52b9\u7387\u7684\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u5165\u529b\u304c\u7a7a\u3067\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u3001<code>bool(user_input)<\/code>\u3067\u7c21\u5358\u306b\u30c1\u30a7\u30c3\u30af\u3067\u304d\u307e\u3059\u3002<\/pre>\n<h2>\u6761\u4ef6\u5206\u5c90\u306b\u304a\u3051\u308bbool\u578b\u306e\u6d3b\u7528<\/h2>\n<p>bool\u578b\u304c\u6700\u3082\u983b\u7e41\u306b\u4f7f\u308f\u308c\u308b\u306e\u304c\u3001if\u6587\u306b\u3088\u308b\u6761\u4ef6\u5206\u5c90\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6d41\u308c\u3092\u5236\u5fa1\u3057\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u7570\u306a\u308b\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/p>\n<h3>if\u6587\u306e\u57fa\u672c\u69cb\u9020<\/h3>\n<p>if\u6587\u306f\u3001\u6761\u4ef6\u5f0f\u304cTrue\u306e\u5834\u5408\u306b\u306e\u307f\u3001\u30a4\u30f3\u30c7\u30f3\u30c8\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af\u5185\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u6761\u4ef6\u5f0f\u306b\u306f\u3001\u6bd4\u8f03\u6f14\u7b97\u3084\u8ad6\u7406\u6f14\u7b97\u306e\u7d50\u679c\u3060\u3051\u3067\u306a\u304f\u3001\u5909\u6570\u305d\u306e\u3082\u306e\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5909\u6570\u3092\u76f4\u63a5\u6761\u4ef6\u5f0f\u306b\u4f7f\u7528\u3057\u305f\u5834\u5408\u3001\u305d\u306e\u5909\u6570\u306e\u5024\u304cTruthy\u304bFalsy\u304b\u306b\u3088\u3063\u3066\u5224\u5b9a\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u300c\u30ea\u30b9\u30c8\u306b\u8981\u7d20\u304c\u3042\u308c\u3070\u51e6\u7406\u3092\u5b9f\u884c\u300d\u300c\u6587\u5b57\u5217\u304c\u7a7a\u3067\u306a\u3051\u308c\u3070\u51e6\u7406\u3092\u5b9f\u884c\u300d\u3068\u3044\u3063\u305f\u5224\u5b9a\u3092\u7c21\u6f54\u306b\u8a18\u8ff0\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>elif \u3068else\u306e\u6d3b\u7528<\/h3>\n<p>\u8907\u6570\u306e\u6761\u4ef6\u3092\u9806\u756a\u306b\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3044\u5834\u5408\u306f<code>elif<\/code>\uff08else if\u306e\u7565\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u6700\u521d\u306eif\u6587\u306e\u6761\u4ef6\u304c\u507d\u306e\u5834\u5408\u3001\u6b21\u306eelif\u306e\u6761\u4ef6\u3092\u8a55\u4fa1\u3057\u307e\u3059\u3002\u3069\u306e\u6761\u4ef6\u306b\u3082\u8a72\u5f53\u3057\u306a\u3044\u5834\u5408\u306e\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308b\u306b\u306f<code>else<\/code>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u6761\u4ef6\u5206\u5c90\u306f\u4e0a\u304b\u3089\u9806\u756a\u306b\u8a55\u4fa1\u3055\u308c\u3001\u6700\u521d\u306b\u771f\u3068\u306a\u3063\u305f\u6761\u4ef6\u306e\u30d6\u30ed\u30c3\u30af\u306e\u307f\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u6761\u4ef6\u306e\u9806\u5e8f\u304c\u91cd\u8981\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u3088\u308a\u5177\u4f53\u7684\u306a\u6761\u4ef6\u3092\u5148\u306b\u914d\u7f6e\u3057\u3001\u3088\u308a\u4e00\u822c\u7684\u306a\u6761\u4ef6\u3092\u5f8c\u306b\u914d\u7f6e\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u306a\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\n<h2>\u30eb\u30fc\u30d7\u51e6\u7406\u3068bool\u578b<\/h2>\n<p>while\u6587\u3067\u306f\u3001\u6761\u4ef6\u5f0f\u304cTrue\u3067\u3042\u308b\u9650\u308a\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u304c\u7d99\u7d9a\u3055\u308c\u307e\u3059\u3002\u6761\u4ef6\u5f0f\u304cFalse\u306b\u306a\u308b\u3068\u3001\u30eb\u30fc\u30d7\u304b\u3089\u629c\u3051\u51fa\u3057\u307e\u3059\u3002<\/p>\n<p>\u7121\u9650\u30eb\u30fc\u30d7\u3092\u610f\u56f3\u7684\u306b\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f<code>while True:<\/code>\u3068\u8a18\u8ff0\u3057\u3001\u30eb\u30fc\u30d7\u5185\u3067break\u6587\u3092\u4f7f\u3063\u3066\u9069\u5207\u306a\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u629c\u3051\u51fa\u3059\u5236\u5fa1\u3092\u884c\u3044\u307e\u3059\u3002\u3053\u306e\u624b\u6cd5\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u306e\u53d7\u4ed8\u3084\u30b5\u30fc\u30d0\u30fc\u306e\u5f85\u6a5f\u51e6\u7406\u306a\u3069\u3001\u7d42\u4e86\u6761\u4ef6\u304c\u8907\u96d1\u306a\u5834\u5408\u306b\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u6570\u306e\u623b\u308a\u5024\u3068\u3057\u3066\u306ebool\u578b<\/h2>\n<p>\u95a2\u6570\u304c\u4f55\u3089\u304b\u306e\u6761\u4ef6\u5224\u5b9a\u306e\u7d50\u679c\u3092\u8fd4\u3059\u5834\u5408\u3001bool\u578b\u3092\u623b\u308a\u5024\u3068\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u95a2\u6570\u306f\u3001\u6163\u4f8b\u3068\u3057\u3066<code>is_<\/code>\u3084<code>has_<\/code>\u3001<code>can_<\/code>\u306a\u3069\u306e\u63a5\u982d\u8f9e\u3092\u4ed8\u3051\u305f\u540d\u524d\u306b\u3059\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<code>is_valid()<\/code>\u3068\u3044\u3046\u95a2\u6570\u540d\u3092\u898b\u308c\u3070\u3001\u3053\u306e\u95a2\u6570\u304c\u691c\u8a3c\u7d50\u679c\u3068\u3057\u3066True\u304bFalse\u3092\u8fd4\u3059\u3053\u3068\u304c\u4e00\u76ee\u3067\u7406\u89e3\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u547d\u540d\u898f\u5247\u306b\u5f93\u3046\u3053\u3068\u3067\u3001\u30c1\u30fc\u30e0\u958b\u767a\u306b\u304a\u3044\u3066\u3082\u30b3\u30fc\u30c9\u306e\u610f\u56f3\u304c\u4f1d\u308f\u308a\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u3088\u304f\u3042\u308b\u9593\u9055\u3044\u3068\u6ce8\u610f\u70b9<\/h2>\n<h3>\u4ee3\u5165\u3068\u6bd4\u8f03\u306e\u6df7\u540c<\/h3>\n<p>\u521d\u5fc3\u8005\u304c\u6700\u3082\u9665\u308a\u3084\u3059\u3044\u9593\u9055\u3044\u306e\u4e00\u3064\u304c\u3001\u4ee3\u5165\u6f14\u7b97\u5b50<code>=<\/code>\u3068\u6bd4\u8f03\u6f14\u7b97\u5b50<code>==<\/code>\u306e\u6df7\u540c\u3067\u3059\u3002if\u6587\u306e\u6761\u4ef6\u5f0f\u3067<code>if x = 5:<\/code>\u3068\u66f8\u3044\u3066\u3057\u307e\u3046\u3068\u3001\u6bd4\u8f03\u3067\u306f\u306a\u304f\u4ee3\u5165\u3068\u3057\u3066\u89e3\u91c8\u3055\u308c\u3001\u69cb\u6587\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002\u6b63\u3057\u304f\u306f<code>if x == 5:<\/code>\u3068\u8a18\u8ff0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>None\u3068\u306e\u6bd4\u8f03<\/h3>\n<p><code>None<\/code>\u306f\u7279\u5225\u306a\u5024\u3067\u3001\u4f55\u3082\u5b58\u5728\u3057\u306a\u3044\u3053\u3068\u3092\u8868\u3057\u307e\u3059\u3002None\u3068\u306e\u6bd4\u8f03\u306b\u306f\u3001\u901a\u5e38\u306e\u7b49\u4fa1\u6f14\u7b97\u5b50<code>==<\/code>\u3067\u306f\u306a\u304f\u3001<code>is<\/code>\u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3059\u308b\u306e\u304cPython\u306e\u6163\u4f8b\u3067\u3059\u3002<code>if value is None:<\/code>\u3068\u66f8\u304f\u3053\u3068\u3067\u3001value\u304c\u672c\u5f53\u306bNone\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><code>is<\/code>\u6f14\u7b97\u5b50\u306f\u540c\u4e00\u6027\uff08identity\uff09\u3092\u78ba\u8a8d\u3057\u3001<code>==<\/code>\u6f14\u7b97\u5b50\u306f\u7b49\u4fa1\u6027\uff08equality\uff09\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002None\u306f\u552f\u4e00\u7121\u4e8c\u306e\u30b7\u30f3\u30b0\u30eb\u30c8\u30f3\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308b\u305f\u3081\u3001<code>is<\/code>\u3092\u4f7f\u7528\u3059\u308b\u306e\u304c\u9069\u5207\u3067\u3059\u3002<\/p>\n<h3>bool\u578b\u306e\u6570\u5024\u3068\u3057\u3066\u306e\u632f\u308b\u821e\u3044<\/h3>\n<p>\u5b9f\u306f\u3001Python\u306b\u304a\u3044\u3066<code>True<\/code>\u306f\u6574\u6570\u306e<code>1<\/code>\u3068\u3057\u3066\u3001<code>False<\/code>\u306f\u6574\u6570\u306e<code>0<\/code>\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001<code>True + True<\/code>\u306f<code>2<\/code>\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3053\u306e\u7279\u6027\u306b\u4f9d\u5b58\u3057\u305f\u30b3\u30fc\u30c9\u306f\u53ef\u8aad\u6027\u3092\u640d\u306a\u3046\u305f\u3081\u3001\u901a\u5e38\u306f\u907f\u3051\u308b\u3079\u304d\u3067\u3059\u3002<\/p>\n<h2>\u5b9f\u8df5\u7684\u306a\u4f7f\u7528\u4f8b<\/h2>\n<h3>\u30c7\u30fc\u30bf\u691c\u8a3c<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fc\u5165\u529b\u3084API\u304b\u3089\u306e\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u3059\u308b\u969b\u3001\u30c7\u30fc\u30bf\u304c\u671f\u5f85\u3059\u308b\u5f62\u5f0f\u3084\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u308b\u304b\u3092\u691c\u8a3c\u3059\u308b\u5834\u9762\u3067\u3001bool\u578b\u304c\u6d3b\u8e8d\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u5f62\u5f0f\u30c1\u30a7\u30c3\u30af\u3001\u5e74\u9f62\u306e\u7bc4\u56f2\u78ba\u8a8d\u3001\u5fc5\u9808\u9805\u76ee\u306e\u5165\u529b\u78ba\u8a8d\u306a\u3069\u3067\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u691c\u8a3c\u6761\u4ef6\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u8907\u96d1\u306a\u30d3\u30b8\u30cd\u30b9\u30eb\u30fc\u30eb\u3082\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002\u5404\u691c\u8a3c\u3092bool\u5024\u3092\u8fd4\u3059\u95a2\u6570\u3068\u3057\u3066\u5206\u96e2\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u306e\u518d\u5229\u7528\u6027\u3068\u30c6\u30b9\u30c8\u306e\u3057\u3084\u3059\u3055\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30d5\u30e9\u30b0\u5909\u6570<\/h3>\n<p>\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u72b6\u614b\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306b\u3001bool\u578b\u306e\u5909\u6570\u3092\u30d5\u30e9\u30b0\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002\u300c\u51e6\u7406\u304c\u5b8c\u4e86\u3057\u305f\u304b\u300d\u300c\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u304b\u300d\u300c\u521d\u671f\u5316\u6e08\u307f\u304b\u300d\u3068\u3044\u3063\u305f\u72b6\u614b\u3092\u8868\u73fe\u3059\u308b\u306e\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30e9\u30b0\u5909\u6570\u306b\u306f\u3001\u305d\u306e\u5f79\u5272\u304c\u660e\u78ba\u306b\u5206\u304b\u308b\u540d\u524d\u3092\u4ed8\u3051\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<code>is_completed<\/code>\u3001<code>has_error<\/code>\u3001<code>is_initialized<\/code>\u306a\u3069\u306e\u547d\u540d\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u610f\u56f3\u304c\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u65e9\u671f\u30ea\u30bf\u30fc\u30f3<\/h3>\n<p>\u95a2\u6570\u5185\u3067\u6761\u4ef6\u3092\u6e80\u305f\u3055\u306a\u3044\u5834\u5408\u306b\u65e9\u671f\u306breturn\u3059\u308b\u3053\u3068\u3067\u3001\u30cd\u30b9\u30c8\u306e\u6df1\u3044\u30b3\u30fc\u30c9\u3092\u907f\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3092\u300c\u30ac\u30fc\u30c9\u7bc0\u300d\u3068\u3082\u547c\u3073\u307e\u3059\u3002bool\u578b\u306b\u3088\u308b\u6761\u4ef6\u5224\u5b9a\u3067\u3001\u4e0d\u6b63\u306a\u5165\u529b\u3084\u7570\u5e38\u306a\u72b6\u614b\u3092\u691c\u51fa\u3057\u305f\u5834\u5408\u3001\u65e9\u3044\u6bb5\u968e\u3067\u95a2\u6570\u3092\u7d42\u4e86\u3059\u308b\u3053\u3068\u3067\u3001\u6b63\u5e38\u7cfb\u306e\u30b3\u30fc\u30c9\u3092\u30b7\u30f3\u30d7\u30eb\u306b\u4fdd\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>bool\u578b\u306f\u3001Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3051\u308b\u6700\u3082\u57fa\u672c\u7684\u306a\u30c7\u30fc\u30bf\u578b\u306e\u4e00\u3064\u3067\u3059\u304c\u3001\u305d\u306e\u91cd\u8981\u6027\u306f\u8a08\u308a\u77e5\u308c\u307e\u305b\u3093\u3002\u6761\u4ef6\u5206\u5c90\u3001\u30eb\u30fc\u30d7\u5236\u5fa1\u3001\u30c7\u30fc\u30bf\u691c\u8a3c\u306a\u3069\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u3042\u3089\u3086\u308b\u5834\u9762\u3067\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u672c\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u305f\u5185\u5bb9\u3092\u6574\u7406\u3059\u308b\u3068\uff1a<\/p>\n<ul>\n<li>bool\u578b\u306f<code>True<\/code>\u3068<code>False<\/code>\u306e2\u3064\u306e\u5024\u306e\u307f\u3092\u6301\u3064<\/li>\n<li>\u6bd4\u8f03\u6f14\u7b97\u5b50\u3084\u8ad6\u7406\u6f14\u7b97\u5b50\u306e\u7d50\u679c\u306fbool\u578b\u306b\u306a\u308b<\/li>\n<li>Truthy\u3068Falsy\u306e\u6982\u5ff5\u306b\u3088\u308a\u3001\u69d8\u3005\u306a\u5024\u304c\u771f\u507d\u3068\u3057\u3066\u6271\u308f\u308c\u308b<\/li>\n<li>\u9069\u5207\u306a\u547d\u540d\u898f\u5247\u306b\u3088\u308a\u3001\u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u304c\u5411\u4e0a\u3059\u308b<\/li>\n<li>\u578b\u5909\u63db\u3084\u65e9\u671f\u30ea\u30bf\u30fc\u30f3\u306a\u3069\u3001\u5b9f\u8df5\u7684\u306a\u30c6\u30af\u30cb\u30c3\u30af\u304c\u5b58\u5728\u3059\u308b<\/li>\n<\/ul>\n<p>bool\u578b\u3092\u6b63\u3057\u304f\u7406\u89e3\u3057\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u8aad\u307f\u3084\u3059\u304f\u4fdd\u5b88\u6027\u306e\u9ad8\u3044Python\u30b3\u30fc\u30c9\u3092\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u6761\u4ef6\u5224\u5b9a\u306e\u57fa\u790e\u3092\u3057\u3063\u304b\u308a\u3068\u8eab\u306b\u3064\u3051\u308b\u3053\u3068\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30ad\u30eb\u5411\u4e0a\u306e\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3068\u306a\u308a\u307e\u3059\u3002\u305c\u3072\u3001\u672c\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u5b9f\u969b\u306e\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3067\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u25a0<a href=\"https:\/\/amzn.to\/3VxGkpx\">\u300c\u3089\u304f\u3089\u304fPython\u587e\u300d\u304c\u5207\u308a\u958b\u304f\u300c\u546a\u6587\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u300d\u3068\u306f\uff1f<\/a><\/h2>\n\n\n\n<p><iframe loading=\"lazy\" width=\"560\" height=\"314\" src=\"\/\/www.youtube.com\/embed\/7iX9nAJE0cE\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/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=\"0ZIZGKS8CS\"><a href=\"https:\/\/techgym.jp\/about\/rakurakupython\/\">\u3010\u9769\u547d\u7684\u5b66\u7fd2\u6cd5\u3011\u300c\u3089\u304f\u3089\u304fPython\u587e\u300d\u304c\u5207\u308a\u958b\u304f\u3001\u546a\u6587\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3068\u3044\u3046\u65b0\u6642\u4ee3\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7fd2\u5f97\u8853<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010\u9769\u547d\u7684\u5b66\u7fd2\u6cd5\u3011\u300c\u3089\u304f\u3089\u304fPython\u587e\u300d\u304c\u5207\u308a\u958b\u304f\u3001\u546a\u6587\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3068\u3044\u3046\u65b0\u6642\u4ee3\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7fd2\u5f97\u8853&#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\/rakurakupython\/embed\/#?secret=9vdAIefoJq#?secret=0ZIZGKS8CS\" data-secret=\"0ZIZGKS8CS\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\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=\"u8yjjlMvjF\"><a href=\"https:\/\/techgym.jp\/news\/new-cource-gene-ai\/\">AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\u306e\u958b\u767a\u30a2\u30d7\u30ea\u7d39\u4ecb<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\u306e\u958b\u767a\u30a2\u30d7\u30ea\u7d39\u4ecb&#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\/news\/new-cource-gene-ai\/embed\/#?secret=yJdMKlbskg#?secret=u8yjjlMvjF\" data-secret=\"u8yjjlMvjF\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u521d\u5fc3\u8005\u6b53\u8fce\u300cAI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\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=\"kcgTZbItTM\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\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\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\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=uV4jA8dPpv#?secret=kcgTZbItTM\" data-secret=\"kcgTZbItTM\" 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>\u683c\u5b89\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\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>\u5bfe\u9762\u578b\u3067\u3088\u308a\u65e9\u304f\u30b9\u30ad\u30eb\u7372\u5f97\u3001\u6708\u984d2\u4e07\u5186\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=\"AVdPwq1V0s\"><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=FzfFq7An7E#?secret=AVdPwq1V0s\" data-secret=\"AVdPwq1V0s\" 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=\"qC8QtUGo4i\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u3010\u6700\u901f\u30fb\u78ba\u5b9f\u3011\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u653b\u7565\u300c\u6c38\u7530\u753aPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\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;\u3010\u6700\u901f\u30fb\u78ba\u5b9f\u3011\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u653b\u7565\u300c\u6c38\u7530\u753aPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\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=FPROPTfqaa#?secret=qC8QtUGo4i\" data-secret=\"qC8QtUGo4i\" 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=\"pubWvFAh55\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u3010\u7121\u6599\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3011\u30bc\u30ed\u304b\u3089\u306f\u3058\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010\u7121\u6599\u30fb\u30aa\u30f3\u30e9\u30a4\u30f3\u3011\u30bc\u30ed\u304b\u3089\u306f\u3058\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7&#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=BCn86xqveu#?secret=pubWvFAh55\" data-secret=\"pubWvFAh55\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u7fd2\u3059\u308b\u4e0a\u3067\u3001bool\u578b\uff08\u30d6\u30fc\u30eb\u578b\uff09\u306f\u6700\u3082\u57fa\u672c\u7684\u304b\u3064\u91cd\u8981\u306a\u30c7\u30fc\u30bf\u578b\u306e\u4e00\u3064\u3067\u3059\u3002\u6761\u4ef6\u5206\u5c90\u3084\u30eb\u30fc\u30d7\u51e6\u7406\u3001\u30c7\u30fc\u30bf\u306e\u691c\u8a3c\u306a\u3069\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u3042\u3089\u3086\u308b\u5834\u9762\u3067\u4f7f\u7528\u3055\u308c\u308b\u305f\u3081\u3001\u6b63\u3057\u304f\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u4e0a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":48980,"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-49546","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":336,"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/10\/ea57fbf4d572bf7d1d94d3bdf7eb3486.jpg","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/49546","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=49546"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/49546\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media\/48980"}],"wp:attachment":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media?parent=49546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=49546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=49546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}