{"id":131274,"date":"2024-03-25T18:21:35","date_gmt":"2024-03-25T09:21:35","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/"},"modified":"2024-04-05T07:29:08","modified_gmt":"2024-04-04T22:29:08","slug":"python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/","title":{"rendered":"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9"},"content":{"rendered":"<p>\u3069\u3046\u3084\u3063\u3066\u685c\u306e\u6728\u3092\u66f8\u304f\u304b<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">import<\/span> turtle\r\n<span class=\"hljs-comment\"># \u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f<\/span>\r\nturtle.setup(<span class=\"hljs-number\">800<\/span>, <span class=\"hljs-number\">600<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u6a31\u82b1\u7684\u679d\u5e72<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">draw_branch<\/span>(<span class=\"hljs-params\">branch_len<\/span>):\r\n<span class=\"hljs-keyword\">if<\/span> branch_len &gt; <span class=\"hljs-number\">3<\/span>:\r\n<span class=\"hljs-comment\"># \u8bbe\u7f6e\u753b\u7b14\u7c97\u7ec6\u548c\u989c\u8272<\/span>\r\nturtle.pensize(branch_len \/ <span class=\"hljs-number\">3<\/span>)\r\nturtle.pencolor(<span class=\"hljs-string\">'brown'<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u53f3\u8fb9\u7684\u679d\u5e72<\/span>\r\nturtle.forward(branch_len)\r\nturtle.right(<span class=\"hljs-number\">20<\/span>)\r\ndraw_branch(branch_len - <span class=\"hljs-number\">15<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u5de6\u8fb9\u7684\u679d\u5e72<\/span>\r\nturtle.left(<span class=\"hljs-number\">40<\/span>)\r\ndraw_branch(branch_len - <span class=\"hljs-number\">15<\/span>)\r\n<span class=\"hljs-comment\"># \u8fd4\u56de\u6811\u5e72\u5904<\/span>\r\nturtle.right(<span class=\"hljs-number\">20<\/span>)\r\nturtle.backward(branch_len)\r\n<span class=\"hljs-comment\"># \u753b\u6a31\u82b1\u7684\u82b1\u74e3<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">draw_petal<\/span>():\r\nturtle.pensize(<span class=\"hljs-number\">2<\/span>)\r\nturtle.pencolor(<span class=\"hljs-string\">'pink'<\/span>)\r\nturtle.fillcolor(<span class=\"hljs-string\">'pink'<\/span>)\r\n<span class=\"hljs-comment\"># \u5f00\u59cb\u586b\u5145<\/span>\r\nturtle.begin_fill()\r\nturtle.left(<span class=\"hljs-number\">60<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">30<\/span>)\r\nturtle.right(<span class=\"hljs-number\">60<\/span>)\r\nturtle.circle(<span class=\"hljs-number\">60<\/span>, <span class=\"hljs-number\">120<\/span>)\r\nturtle.right(<span class=\"hljs-number\">60<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">30<\/span>)\r\nturtle.end_fill()\r\n<span class=\"hljs-comment\"># \u79fb\u52a8\u753b\u7b14\u5230\u6307\u5b9a\u4f4d\u7f6e<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">move_pen<\/span>(<span class=\"hljs-params\">x, y<\/span>):\r\nturtle.penup()\r\nturtle.goto(x, y)\r\nturtle.pendown()\r\n<span class=\"hljs-comment\"># \u4e3b\u51fd\u6570<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">main<\/span>():\r\n<span class=\"hljs-comment\"># \u9690\u85cf\u753b\u7b14<\/span>\r\nturtle.hideturtle()\r\n<span class=\"hljs-comment\"># \u8bbe\u7f6e\u901f\u5ea6\u548c\u89d2\u5ea6<\/span>\r\nturtle.speed(<span class=\"hljs-number\">5<\/span>)\r\nturtle.left(<span class=\"hljs-number\">90<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u6a31\u82b1\u7684\u679d\u5e72<\/span>\r\nmove_pen(<span class=\"hljs-number\">0<\/span>, -<span class=\"hljs-number\">200<\/span>)\r\ndraw_branch(<span class=\"hljs-number\">100<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u6a31\u82b1\u7684\u82b1\u74e3<\/span>\r\nmove_pen(<span class=\"hljs-number\">0<\/span>, <span class=\"hljs-number\">0<\/span>)\r\n<span class=\"hljs-keyword\">for<\/span> _ <span class=\"hljs-keyword\">in<\/span> <span class=\"hljs-built_in\">range<\/span>(<span class=\"hljs-number\">6<\/span>):\r\ndraw_petal()\r\nturtle.left(<span class=\"hljs-number\">60<\/span>)\r\n<span class=\"hljs-comment\"># \u5173\u95ed\u753b\u5e03<\/span>\r\nturtle.done()\r\n<span class=\"hljs-keyword\">if<\/span> __name__ == <span class=\"hljs-string\">'__main__'<\/span>:\r\nmain()\r\n<\/code><\/pre>\n<p>\u30d0\u30e9\u3092\u63cf\u304f\u305f\u3081\u306e\u30b3\u30fc\u30c9<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">import<\/span> turtle\r\n<span class=\"hljs-comment\"># \u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f<\/span>\r\nturtle.setup(<span class=\"hljs-number\">800<\/span>, <span class=\"hljs-number\">600<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u73ab\u7470<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">draw_rose<\/span>():\r\nturtle.speed(<span class=\"hljs-number\">10<\/span>)\r\nturtle.pensize(<span class=\"hljs-number\">2<\/span>)\r\nturtle.pencolor(<span class=\"hljs-string\">'red'<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u73ab\u7470\u7684\u82b1\u74e3<\/span>\r\n<span class=\"hljs-keyword\">for<\/span> _ <span class=\"hljs-keyword\">in<\/span> <span class=\"hljs-built_in\">range<\/span>(<span class=\"hljs-number\">18<\/span>):\r\nturtle.forward(<span class=\"hljs-number\">100<\/span>)\r\nturtle.left(<span class=\"hljs-number\">100<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">100<\/span>)\r\nturtle.right(<span class=\"hljs-number\">160<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u73ab\u7470\u7684\u82b1\u854a<\/span>\r\nturtle.fillcolor(<span class=\"hljs-string\">'yellow'<\/span>)\r\nturtle.begin_fill()\r\nturtle.circle(<span class=\"hljs-number\">10<\/span>)\r\nturtle.end_fill()\r\n<span class=\"hljs-comment\"># \u79fb\u52a8\u753b\u7b14\u5230\u6307\u5b9a\u4f4d\u7f6e<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">move_pen<\/span>(<span class=\"hljs-params\">x, y<\/span>):\r\nturtle.penup()\r\nturtle.goto(x, y)\r\nturtle.pendown()\r\n<span class=\"hljs-comment\"># \u4e3b\u51fd\u6570<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">main<\/span>():\r\n<span class=\"hljs-comment\"># \u9690\u85cf\u753b\u7b14<\/span>\r\nturtle.hideturtle()\r\n<span class=\"hljs-comment\"># \u753b\u73ab\u7470<\/span>\r\nmove_pen(<span class=\"hljs-number\">0<\/span>, <span class=\"hljs-number\">0<\/span>)\r\ndraw_rose()\r\n<span class=\"hljs-comment\"># \u5173\u95ed\u753b\u5e03<\/span>\r\nturtle.done()\r\n<span class=\"hljs-keyword\">if<\/span> __name__ == <span class=\"hljs-string\">'__main__'<\/span>:\r\nmain()\r\n<\/code><\/pre>\n<p>\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u304f\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-keyword\">import<\/span> turtle\r\n<span class=\"hljs-comment\"># \u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f<\/span>\r\nturtle.setup(<span class=\"hljs-number\">800<\/span>, <span class=\"hljs-number\">600<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u5723\u8bde\u6811<\/span>\r\n<span class=\"hljs-keyword\">def<\/span> <span class=\"hljs-title function_\">draw_tree<\/span>():\r\nturtle.speed(<span class=\"hljs-number\">10<\/span>)\r\nturtle.pensize(<span class=\"hljs-number\">3<\/span>)\r\nturtle.pencolor(<span class=\"hljs-string\">'green'<\/span>)\r\n<span class=\"hljs-comment\"># \u753b\u6811\u5e72<\/span>\r\nturtle.fillcolor(<span class=\"hljs-string\">'brown'<\/span>)\r\nturtle.begin_fill()\r\nturtle.left(<span class=\"hljs-number\">90<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">100<\/span>)\r\nturtle.right(<span class=\"hljs-number\">90<\/span>)\r\nturtle.backward(<span class=\"hljs-number\">10<\/span>)\r\nturtle.right(<span class=\"hljs-number\">90<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">10<\/span>)\r\nturtle.right(<span class=\"hljs-number\">90<\/span>)\r\nturtle.backward(<span class=\"hljs-number\">20<\/span>)\r\nturtle.right(<span class=\"hljs-number\">90<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">10<\/span>)\r\nturtle.right(<span class=\"hljs-number\">90<\/span>)\r\nturtle.backward(<span class=\"hljs-number\">10<\/span>)\r\nturtle.right(<span class=\"hljs-number\">90<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">100<\/span>)\r\nturtle.end_fill()\r\n<span class=\"hljs-comment\"># \u753b\u6811\u53f6<\/span>\r\nturtle.fillcolor(<span class=\"hljs-string\">'green'<\/span>)\r\nturtle.begin_fill()\r\nturtle.left(<span class=\"hljs-number\">180<\/span>)\r\nturtle.circle(<span class=\"hljs-number\">100<\/span>, -<span class=\"hljs-number\">180<\/span>)\r\nturtle.right(<span class=\"hljs-number\">180<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">100<\/span>)\r\nturtle.right(<span class=\"hljs-number\">60<\/span>)\r\nturtle.circle(<span class=\"hljs-number\">80<\/span>, -<span class=\"hljs-number\">180<\/span>)\r\nturtle.right(<span class=\"hljs-number\">180<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">80<\/span>)\r\nturtle.right(<span class=\"hljs-number\">120<\/span>)\r\nturtle.circle(<span class=\"hljs-number\">80<\/span>, -<span class=\"hljs-number\">180<\/span>)\r\nturtle.right(<span class=\"hljs-number\">180<\/span>)\r\nturtle.forward(<span class=\"hljs-number\">80<\/span>)\r\nturtle.right(<span class=\"hljs-number\">60<\/span>)\r\nturtle.circle(<span class=\"hljs-number\">100<\/span>, -<span class=\"hljs-number\">180<\/span>)\r\nturtle.end_fill()\r\n<span class=\"hljs-comment\"># \u79fb\u52a8\u753b<\/span>\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3084\u3063\u3066\u685c\u306e\u6728\u3092\u66f8\u304f\u304b import turtle # \u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f turtle.setup(800, 600) # \u753b\u6a31\u82b1\u7684\u679d\u5e72 def draw_branch(branch_len): if branch_len [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-131274","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9 - Blog - Silicon Cloud<\/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.silicloud.com\/ja\/blog\/python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebturtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9\" \/>\n<meta property=\"og:description\" content=\"\u3069\u3046\u3084\u3063\u3066\u685c\u306e\u6728\u3092\u66f8\u304f\u304b import turtle # \u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f turtle.setup(800, 600) # \u753b\u6a31\u82b1\u7684\u679d\u5e72 def draw_branch(branch_len): if branch_len [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebturtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-25T09:21:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T22:29:08+00:00\" \/>\n<meta name=\"author\" content=\"\u84ee, \u7ffc\" \/>\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=\"\u84ee, \u7ffc\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/\",\"name\":\"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-25T09:21:35+00:00\",\"dateModified\":\"2024-04-04T22:29:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413\",\"name\":\"\u84ee, \u7ffc\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g\",\"caption\":\"\u84ee, \u7ffc\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9 - Blog - Silicon Cloud","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.silicloud.com\/ja\/blog\/python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebturtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\/","og_locale":"ja_JP","og_type":"article","og_title":"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9","og_description":"\u3069\u3046\u3084\u3063\u3066\u685c\u306e\u6728\u3092\u66f8\u304f\u304b import turtle # \u8bbe\u7f6e\u753b\u5e03\u5927\u5c0f turtle.setup(800, 600) # \u753b\u6a31\u82b1\u7684\u679d\u5e72 def draw_branch(branch_len): if branch_len [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebturtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-25T09:21:35+00:00","article_modified_time":"2024-04-04T22:29:08+00:00","author":"\u84ee, \u7ffc","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u84ee, \u7ffc","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/","name":"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-25T09:21:35+00:00","dateModified":"2024-04-04T22:29:08+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Python\u306e\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u30e2\u30b8\u30e5\u30fc\u30ebTurtle\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u685c\u3001\u30d0\u30e9\u3001\u30af\u30ea\u30b9\u30de\u30b9\u30c4\u30ea\u30fc\u3092\u63cf\u753b\u3059\u308b\u30b3\u30fc\u30c9"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cdc124a0aaebf26393d8d591183ca413","name":"\u84ee, \u7ffc","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/27308f733c7fcdac8617926a0100c77213339c4e501310a08c0baf946bf823bc?s=96&d=mm&r=g","caption":"\u84ee, \u7ffc"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/rentsubasa\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/python%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%95%e3%82%a3%e3%83%83%e3%82%af%e3%82%b9%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%abturtle%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%a7%e6%a1%9c\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/131274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=131274"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/131274\/revisions"}],"predecessor-version":[{"id":314715,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/131274\/revisions\/314715"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=131274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=131274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=131274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}