{"id":226,"date":"2023-07-06T14:13:15","date_gmt":"2023-07-06T05:13:15","guid":{"rendered":"https:\/\/itclass.sfc.keio.ac.jp\/question\/?p=226"},"modified":"2023-10-25T11:59:31","modified_gmt":"2023-10-25T02:59:31","slug":"python%e5%88%9d%e5%ad%a6%e8%80%85%e3%81%8c%e7%8a%af%e3%81%97%e3%81%8c%e3%81%a1%e3%81%aa%e3%83%9f%e3%82%b96%e9%81%b8","status":"publish","type":"post","link":"https:\/\/itclass.sfc.keio.ac.jp\/question\/2023\/07\/06\/python%e5%88%9d%e5%ad%a6%e8%80%85%e3%81%8c%e7%8a%af%e3%81%97%e3%81%8c%e3%81%a1%e3%81%aa%e3%83%9f%e3%82%b96%e9%81%b8\/","title":{"rendered":"Python\u521d\u5b66\u8005\u304c\u72af\u3057\u304c\u3061\u306a\u30df\u30b96\u9078"},"content":{"rendered":"\n<p>Python\u306f\u521d\u5b66\u8005\u306b\u3068\u3063\u3066\u5b66\u3073\u3084\u3059\u3044\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u3057\u3066\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u3067\u3042\u308c\u3070\u8ab0\u3067\u3082\u72af\u3057\u3084\u3059\u3044\u30df\u30b9\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u60c5\u5831\u57fa\u790e\u3067Python\u3092\u5b66\u3073\u59cb\u3081\u305f\u65b9\u3005\u306b\u5411\u3051\u3066\u3001\u904e\u53bb\u306e\u5c65\u4fee\u8005\u3067\u3088\u304f\u898b\u3089\u308c\u305f\u30df\u30b9\u3092\uff17\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u5168\u89d2\u6587\u5b57\u30fb\u30b9\u30da\u30fc\u30b9\u306e\u6df7\u5165<\/h3>\n\n\n\n<p>Python\u306f\u5168\u89d2\u6587\u5b57\u3092\u6b63\u3057\u304f\u8a8d\u8b58\u3057\u306a\u3044\u305f\u3081\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u306b\u5168\u89d2\u6587\u5b57\u3084\u30b9\u30da\u30fc\u30b9\u304c\u6df7\u5165\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u306e\u30df\u30b9\u306f\u82f1\u8a9e\uff08\u534a\u89d2\uff09\u3068\u65e5\u672c\u8a9e\uff08\u5168\u89d2\uff09\u306e\u5165\u529b\u74b0\u5883\u304c\u6df7\u5728\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u3088\u304f\u898b\u3089\u308c\u3001\u666e\u6bb5\u65e5\u672c\u8a9e\u4f7f\u7528\u3057\u3066\u3044\u308b\u5927\u534a\u306e\u5c65\u4fee\u8005\u304c\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\" data-line=\"1\"><code>character = \uff11\uff12\nprint(character)<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\u5b9f\u884c\u7d50\u679c\"><code>File &quot;\/Users\/FITQS\/character.py&quot;, line 1\n    character = \uff112\n                ^\nSyntaxError: invalid character &#39;\uff11&#39; (U+FF11)<\/code><\/pre><\/div>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306e\u69d8\u306b\u5168\u89d2\u306e\u6570\u5b57\uff08\uff11\uff12\uff09\u3092\u4ee3\u5165\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001Python\u306f\u3053\u308c\u3092\u6b63\u3057\u304f\u8a8d\u8b58\u3067\u304d\u305a\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5168\u89d2\u306e\u30b9\u30da\u30fc\u30b9\u3082\u540c\u69d8\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\" data-line=\"1\"><code>character\u3000= 12\nprint(character)<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\u5b9f\u884c\u7d50\u679c\"><code>File &quot;\/Users\/FITQS\/character.py&quot;, line 1\n    character\u3000= 12\n             ^\nSyntaxError: invalid non-printable character U+3000<\/code><\/pre><\/div>\n\n\n\n<p>\u5168\u89d2\u306e\u30b9\u30da\u30fc\u30b9\uff08character\u306e\u5f8c\uff09\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3068\u3001Python\u306f\u3053\u308c\u3092\u7a7a\u767d\u3067\u306f\u306a\u304f\u6587\u5b57\u3068\u3057\u3066\u8a8d\u8b58\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u306e\u7d50\u679c\u3001\u610f\u56f3\u3057\u306a\u3044\u52d5\u4f5c\u3084\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u554f\u984c\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5165\u529b\u3084\u7de8\u96c6\u6642\u306b\u306f\u3001\u5e38\u306b\u534a\u89d2\u30e2\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002\u307e\u305f\u3001\u60c5\u5831\u57fa\u790e\u304c\u63a8\u5968\u3059\u308bVisual Studio Code\u3092\u306f\u3058\u3081\u4e00\u90e8\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u306f\u5168\u89d2\u6587\u5b57\u3084\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u3092\u898b\u3064\u3051\u3066\u304f\u308c\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u6d3b\u7528\u3057\u3066\u307f\u308b\u306e\u3082\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>Zenkaku<\/strong><br><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=mosapride.zenkaku\">https:\/\/marketplace.visualstudio.com\/items?itemName=mosapride.zenkaku<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u30a4\u30f3\u30c7\u30f3\u30c8\u306e\u8aa4\u7528<\/h3>\n\n\n\n<p>Python\u306f\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u7570\u306a\u308a\u3001\u30a4\u30f3\u30c7\u30f3\u30c8\uff08\u901a\u5e38\u306f\u534a\u89d2\u30b9\u30da\u30fc\u30b94\u3064\u3001\u3042\u308b\u3044\u306f\u30bf\u30d61\u3064\uff09\u3092\u4f7f\u3063\u3066\u30b3\u30fc\u30c9\u306e\u30d6\u30ed\u30c3\u30af\u3092\u533a\u5225\u3057\u307e\u3059\u3002\u30a4\u30f3\u30c7\u30f3\u30c8\u304c\u4e0d\u9069\u5207\u3067\u3042\u3063\u305f\u5834\u5408\u3001Python\u306f\u30a8\u30e9\u30fc\u3092\u51fa\u529b\u3057\u307e\u3059\u3002\u3053\u306e\u30a8\u30e9\u30fc\u306f\u3001\u30b3\u30fc\u30c9\u306e\u898b\u305f\u76ee\u3068\u306f\u88cf\u8179\u306b\u975e\u5e38\u306b\u91cd\u8981\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u5168\u4f53\u3092\u30a8\u30e9\u30fc\u3067\u505c\u6b62\u3055\u305b\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\" data-line=\"2\"><code>for i in range(10):\nprint(&quot;pizza&quot;)<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\u5b9f\u884c\u7d50\u679c\"><code>File &quot;\/Users\/FITQS\/quiz.py&quot;, line 2\n    print(&quot;pizza&quot;)\n    ^\nIndentationError: expected an indented block<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001for\u6587\u306e\u4e2d\u8eab\u306f\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u4f7f\u3063\u3066\u533a\u5225\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u306f\u305a\u3067\u3059\u304c\u3001\u3067\u304d\u3066\u304a\u3089\u305a\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u3088\u304f\u898b\u3089\u308c\u308b\u3082\u306e\u3068\u3057\u3066\u3001\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3066\u6301\u3063\u3066\u304d\u305f\u3068\u304d\u306b\u30a4\u30f3\u30c7\u30f3\u30c8\u304c\u30ba\u30ec\u3066\u3057\u307e\u3046\u4e8b\u4f8b\u304c\u3042\u308a\u307e\u3059\u3002\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u201c=\u201d\u3068\u201c==\u201d\u306e\u6df7\u540c<\/h3>\n\n\n\n<p>Python\u306b\u304a\u3044\u3066\u3001&#8221;=&#8221;\u306f\u5909\u6570\u3078\u306e\u5024\u306e\u4ee3\u5165\u3092\u610f\u5473\u3057\u307e\u3059\u304c\u3001&#8221;==&#8221;\u306f2\u3064\u306e\u5024\u306e\u7b49\u3057\u3044\u6bd4\u8f03\u3092\u8868\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u4e8c\u3064\u306e\u6f14\u7b97\u5b50\u306f\u5168\u304f\u7570\u306a\u308b\u5f79\u5272\u3092\u679c\u305f\u3059\u305f\u3081\u3001\u8aa4\u3063\u3066\u4ea4\u63db\u3059\u308b\u3068\u4e88\u671f\u3057\u306a\u3044\u7d50\u679c\u3092\u751f\u3080\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\" data-line=\"2\"><code>num = 10\nif num = 10:\n    print(num)<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\u5b9f\u884c\u7d50\u679c\"><code>File &quot;\/Users\/FITQS\/equal.py&quot;, line 2\n    if a = 10:\n         ^\nSyntaxError: invalid syntax<\/code><\/pre><\/div>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u300cif num = 10:\u300d\u3068\u66f8\u3044\u3066\u3057\u307e\u3046\u3068\u3001\u3053\u308c\u306f\u4ee3\u5165\u306e\u64cd\u4f5c\u3068\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u6b63\u3057\u304f\u306f\u3001\u300cif num == 10:\u300d\u3068\u6bd4\u8f03\u306e\u64cd\u4f5c\u3092\u884c\u3046\u3079\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u30ea\u30b9\u30c8\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u8aa4\u89e3<\/h3>\n\n\n\n<p>\u6211\u3005\u306e\u76f4\u611f\u3068\u306f\u7570\u306a\u308a\u3001Python\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306f0\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002\u5f93\u3063\u3066\u3001\u30ea\u30b9\u30c8\u306e\u6700\u521d\u306e\u8981\u7d20\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b91\u3067\u306f\u306a\u304f0\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\" data-line=\"2\"><code>campus = [&quot;Mita&quot;,&quot;Hiyoshi&quot;,&quot;Shonan Fujisawa&quot;]\nprint(campus[3])<\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\u5b9f\u884c\u7d50\u679c\"><code>File &quot;\/Users\/FITQS\/campus.py&quot;, line 2, in &lt;module&gt;\n    print(campus[3])\nIndexError: list index out of range<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u30ea\u30b9\u30c8\u306e\u8981\u7d20\u304c3\u3064\u3057\u304b\u306a\u3044\u306e\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\uff13\uff08\u3064\u307e\u308a\u3001\uff14\u3064\u76ee\uff09\u306e\u8981\u7d20\u3092\u53d6\u308a\u51fa\u305d\u3046\u3068\u3057\u3066\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3092\u7406\u89e3\u3057\u306a\u3051\u308c\u3070\u3001\u610f\u56f3\u3057\u306a\u3044\u8981\u7d20\u3092\u53d6\u308a\u51fa\u3057\u305f\u308a\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u5916\u306e\u8981\u7d20\u3092\u6307\u5b9a\u3057\u3088\u3046\u3057\u305f\u308a\u3059\u308b\u30df\u30b9\u3092\u72af\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u6570\u5024\u3068\u6587\u5b57\u5217\u306e\u8aa4\u89e3\uff08\u30c7\u30fc\u30bf\u578b\u306e\u8aa4\u89e3\uff09<\/h3>\n\n\n\n<p>Python\u3067\u306f\u3001\u30c7\u30fc\u30bf\u578b\u3092\u6b63\u3057\u304f\u7406\u89e3\u3057\u7ba1\u7406\u3059\u308b\u3053\u3068\u304c\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002\u7279\u306b\u521d\u5b66\u8005\u304c\u9665\u308a\u304c\u3061\u306a\u30df\u30b9\u3068\u3057\u3066\u3001\u6570\u5024\u3068\u6587\u5b57\u5217\u306e\u8aa4\u89e3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306b\u5177\u4f53\u7684\u306a\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\" data-line=\"4\"><code>num1 = 3\nnum2 = &quot;4&quot;\n\nprint(num1 + num2) <\/code><\/pre><\/div>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"\u5b9f\u884c\u7d50\u679c\"><code>File &quot;\/Users\/FITQS\/num.py&quot;, line 4, in &lt;module&gt;\n    print(num1 + num2) \nTypeError: unsupported operand type(s) for +: &#39;int&#39; and &#39;str&#39;<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001num1\u306b\u6570\u5024\u306e3\u304c\u3001num2\u306b\u6587\u5b57\u5217\u306e&#8221;4&#8243;\u304c\u305d\u308c\u305e\u308c\u4ee3\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u6700\u5f8c\u306e\u884c\u3067\u3001\u3053\u308c\u3089\u4e8c\u3064\u306e\u5909\u6570\u3092\u8db3\u3057\u5408\u308f\u305b\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001Python\u3067\u306f\u6570\u5024\u3068\u6587\u5b57\u5217\u3092\u76f4\u63a5\u8db3\u3057\u5408\u308f\u305b\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u306f\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u306b\u306f\u3001\u6587\u5b57\u5217\u3092\u6570\u5024\u306b\u5909\u63db\u3059\u308b\u304b\u3001\u9006\u306b\u6570\u5024\u3092\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u578b\u306e\u8aa4\u89e3\u306f\u3057\u3070\u3057\u3070\u30d0\u30b0\u306e\u539f\u56e0\u3068\u306a\u308b\u305f\u3081\u3001\u30c7\u30fc\u30bf\u578b\u306e\u6271\u3044\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">6. \u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u7121\u8996<\/h3>\n\n\n\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u554f\u984c\u3084\u8aa4\u308a\u3092\u7279\u5b9a\u3057\u3001\u89e3\u6c7a\u3059\u308b\u305f\u3081\u306e\u9053\u3057\u308b\u3079\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5b66\u8005\u306f\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u7406\u89e3\u3057\u3088\u3046\u3068\u305b\u305a\u3001\u8efd\u8996\u3059\u308b\u50be\u5411\u304c\u3042\u308a\u307e\u3059\u3002\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u4f55\u3092\u793a\u3057\u3066\u3044\u308b\u306e\u304b\u3092\u7406\u89e3\u3059\u308b\u69d8\u306b\u52aa\u3081\u308c\u3070\u3001\u30a8\u30e9\u30fc\u306e\u89e3\u6c7a\u304c\u65e9\u307e\u308b\u3060\u3051\u3067\u306a\u304f\u3001Python\u306e\u4e0a\u9054\u3059\u308b\u901f\u5ea6\u3082\u65e9\u307e\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>Python\u306e\u4ee3\u8868\u7684\u306a\u30a8\u30e9\u30fc\u3068\u305d\u306e\u5bfe\u51e6\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u305f\u6295\u7a3f\u3082\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u305d\u3061\u3089\u3082\u304a\u8aad\u307f\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"has-text-align-center\"><blockquote class=\"wp-embedded-content\" data-secret=\"5zRvQp61oO\"><a href=\"https:\/\/itclass.sfc.keio.ac.jp\/question\/2023\/05\/31\/errorsandsolutions\/\">Python\u306e\u4ee3\u8868\u7684\u306a\u30a8\u30e9\u30fc\u3068\u305d\u306e\u5bfe\u51e6\u65b9\u6cd5<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Python\u306e\u4ee3\u8868\u7684\u306a\u30a8\u30e9\u30fc\u3068\u305d\u306e\u5bfe\u51e6\u65b9\u6cd5&#8221; &#8212; \u60c5\u5831\u57fa\u790e\u8cea\u554f\u30bb\u30c3\u30b7\u30e7\u30f3\" src=\"https:\/\/itclass.sfc.keio.ac.jp\/question\/2023\/05\/31\/errorsandsolutions\/embed\/#?secret=pxAo1kPomu#?secret=5zRvQp61oO\" data-secret=\"5zRvQp61oO\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n\n\n\n<p>\u307e\u305f\u3001\u60c5\u5831\u57fa\u790e\u304c\u63a8\u5968\u3059\u308bVisual Studio Code\u306b\u306f\u3001\u30a8\u30e9\u30fc\u7b87\u6240\u3092\u6559\u3048\u3066\u304f\u308c\u308b\u6a5f\u80fd\u3082\u3042\u308a\u307e\u3059\u3002\u305c\u3072\u3001\u6d3b\u7528\u3057\u3066\u307f\u3066\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"261\" src=\"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-06-14.11.37-1024x261.png\" alt=\"\" class=\"wp-image-263\" srcset=\"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-06-14.11.37-1024x261.png 1024w, https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-06-14.11.37-300x76.png 300w, https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-06-14.11.37-768x196.png 768w, https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-content\/uploads\/2023\/07\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2023-07-06-14.11.37.png 1420w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Python\u306f\u521d\u5b66\u8005\u306b\u3068\u3063\u3066\u5b66\u3073\u3084\u3059\u3044\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u3057\u3066\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u3067\u3042\u308c\u3070\u8ab0\u3067\u3082\u72af\u3057\u3084\u3059\u3044\u30df\u30b9\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u3002 \u3053\u3053\u3067\u306f\u3001\u60c5\u5831\u57fa\u790e\u3067Python\u3092\u5b66\u3073\u59cb\u3081\u305f\u65b9\u3005\u306b\u5411\u3051\u3066\u3001\u904e\u53bb\u306e\u5c65\u4fee\u8005\u3067 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-226","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/posts\/226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/comments?post=226"}],"version-history":[{"count":16,"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/posts\/226\/revisions"}],"predecessor-version":[{"id":266,"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/posts\/226\/revisions\/266"}],"wp:attachment":[{"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/media?parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/categories?post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itclass.sfc.keio.ac.jp\/question\/wp-json\/wp\/v2\/tags?post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}