{"id":340,"date":"2026-02-03T19:37:11","date_gmt":"2026-02-03T11:37:11","guid":{"rendered":"http:\/\/lhy.cpolar.top\/?p=340"},"modified":"2026-02-03T19:37:11","modified_gmt":"2026-02-03T11:37:11","slug":"turtle%e5%ba%93-%e6%a1%88%e4%be%8b11%ef%bc%9a%e7%94%bb%e5%86%b0%e5%a2%a9%e5%a2%a9","status":"publish","type":"post","link":"http:\/\/lhy.cpolar.top\/?p=340","title":{"rendered":"turtle\u5e93\u2014\u2014\u6848\u4f8b11\uff1a\u753b\u51b0\u58a9\u58a9"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/lhy.cpolar.top\/wp-content\/uploads\/2026\/02\/%E7%94%BB%E5%86%B0%E5%A2%A9%E5%A2%A9.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"http:\/\/lhy.cpolar.top\/wp-content\/uploads\/2026\/02\/%E7%94%BB%E5%86%B0%E5%A2%A9%E5%A2%A9.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\u5f53\u524d\u56fe\u7247\u6ca1\u6709\u66ff\u4ee3\u6587\u5b57\u3002\u6587\u4ef6\u540d\u4e3a\uff1a%e7%94%bb%e5%86%b0%e5%a2%a9%e5%a2%a9\" \/><\/div><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>import turtle\nturtle.title('Python-\u51b0\u58a9\u58a9')\nturtle.shape(\"turtle\")\nturtle.speed(5) # \u901f\u5ea6\n# \u5de6\u624b\nturtle.penup()\nturtle.goto(177, 112)\nturtle.pencolor(\"lightgray\")\nturtle.pensize(3)\nturtle.fillcolor(\"white\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(80)\nturtle.circle(-45, 200)\nturtle.circle(-300, 23)\nturtle.end_fill()\n# \u5de6\u624b\u5185\nturtle.penup()\nturtle.goto(182, 95)\nturtle.pencolor(\"black\")\nturtle.pensize(1)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.setheading(95)\nturtle.pendown()\nturtle.circle(-37, 160)\nturtle.circle(-20, 50)\nturtle.circle(-200, 30)\nturtle.end_fill()\n# \u8f6e\u5ed3\n# \u5934\u9876\nturtle.penup()\nturtle.goto(-73, 230)\nturtle.pencolor(\"lightgray\")\nturtle.pensize(3)\nturtle.fillcolor(\"white\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(20)\nturtle.circle(-250, 35)\n# \u5de6\u8033\nturtle.setheading(50)\nturtle.circle(-42, 180)\n# \u5de6\u4fa7\nturtle.setheading(-50)\nturtle.circle(-190, 30)\nturtle.circle(-320, 45)\n# \u5de6\u817f\nturtle.circle(120, 30)\nturtle.circle(200, 12)\nturtle.circle(-18, 85)\nturtle.circle(-180, 23)\nturtle.circle(-20, 110)\nturtle.circle(15, 115)\nturtle.circle(100, 12)\n# \u53f3\u817f\nturtle.circle(15, 120)\nturtle.circle(-15, 110)\nturtle.circle(-150, 30)\nturtle.circle(-15, 70)\nturtle.circle(-150, 10)\nturtle.circle(200, 35)\nturtle.circle(-150, 20)\n# \u53f3\u624b\nturtle.setheading(-120)\nturtle.circle(50, 30)\nturtle.circle(-35, 200)\nturtle.circle(-300, 23)\n# \u53f3\u4fa7\nturtle.setheading(86)\nturtle.circle(-300, 26)\n# \u53f3\u8033\nturtle.setheading(122)\nturtle.circle(-53, 160)\nturtle.end_fill()\n# \u53f3\u8033\u5185\nturtle.penup()\nturtle.goto(-130, 180)\nturtle.pencolor(\"black\")\nturtle.pensize(1)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(120)\nturtle.circle(-28, 160)\nturtle.setheading(210)\nturtle.circle(150, 20)\nturtle.end_fill()\n# \u5de6\u8033\u5185\nturtle.penup()\nturtle.goto(90, 230)\nturtle.setheading(40)\nturtle.begin_fill()\nturtle.pendown()\nturtle.circle(-30, 170)\nturtle.setheading(125)\nturtle.circle(150, 23)\nturtle.end_fill()\n# \u53f3\u624b\u5185\nturtle.penup()\nturtle.goto(-180, -55)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.setheading(-120)\nturtle.pendown()\nturtle.circle(50, 30)\nturtle.circle(-27, 200)\nturtle.circle(-300, 20)\nturtle.setheading(-90)\nturtle.circle(300, 14)\nturtle.end_fill()\n# \u5de6\u817f\u5185\nturtle.penup()\nturtle.goto(108, -168)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(-115)\nturtle.circle(110, 15)\nturtle.circle(200, 10)\nturtle.circle(-18, 80)\nturtle.circle(-180, 13)\nturtle.circle(-20, 90)\nturtle.circle(15, 60)\nturtle.setheading(42)\nturtle.circle(-200, 29)\nturtle.end_fill()\n# \u53f3\u817f\u5185\nturtle.penup()\nturtle.goto(-38, -210)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(-155)\nturtle.circle(15, 100)\nturtle.circle(-10, 110)\nturtle.circle(-100, 30)\nturtle.circle(-15, 65)\nturtle.circle(-100, 10)\nturtle.circle(200, 15)\nturtle.setheading(-14)\nturtle.circle(-200, 27)\nturtle.end_fill()\n# \u53f3\u773c\n# \u773c\u5708\nturtle.penup()\nturtle.goto(-64, 120)\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(40)\nturtle.circle(-35, 152)\nturtle.circle(-100, 50)\nturtle.circle(-35, 130)\nturtle.circle(-100, 50)\nturtle.end_fill()\n# \u773c\u73e0\nturtle.penup()\nturtle.goto(-47, 55)\nturtle.fillcolor(\"white\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(25, 360)\nturtle.end_fill()\nturtle.penup()\nturtle.goto(-45, 62)\nturtle.pencolor(\"darkslategray\")\nturtle.fillcolor(\"darkslategray\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(19, 360)\nturtle.end_fill()\nturtle.penup()\nturtle.goto(-45, 68)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(10, 360)\nturtle.end_fill()\nturtle.penup()\nturtle.goto(-47, 86)\nturtle.pencolor(\"white\")\nturtle.fillcolor(\"white\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(5, 360)\nturtle.end_fill()\n# \u5de6\u773c\n# \u773c\u5708\nturtle.penup()\nturtle.goto(51, 82)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(120)\nturtle.circle(-32, 152)\nturtle.circle(-100, 55)\nturtle.circle(-25, 120)\nturtle.circle(-120, 45)\nturtle.end_fill()\n# \u773c\u73e0\nturtle.penup()\nturtle.goto(79, 60)\nturtle.fillcolor(\"white\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(24, 360)\nturtle.end_fill()\nturtle.penup()\nturtle.goto(79, 64)\nturtle.pencolor(\"darkslategray\")\nturtle.fillcolor(\"darkslategray\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(19, 360)\nturtle.end_fill()\nturtle.penup()\nturtle.goto(79, 70)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(10, 360)\nturtle.end_fill()\nturtle.penup()\nturtle.goto(79, 88)\nturtle.pencolor(\"white\")\nturtle.fillcolor(\"white\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(0)\nturtle.circle(5, 360)\nturtle.end_fill()\n# \u9f3b\u5b50\nturtle.penup()\nturtle.goto(37, 80)\nturtle.fillcolor(\"black\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.circle(-8, 130)\nturtle.circle(-22, 100)\nturtle.circle(-8, 130)\nturtle.end_fill()\n# \u5634\nturtle.penup()\nturtle.goto(-15, 48)\nturtle.setheading(-36)\nturtle.begin_fill()\nturtle.pendown()\nturtle.circle(60, 70)\nturtle.setheading(-132)\nturtle.circle(-45, 100)\nturtle.end_fill()\n# \u5f69\u8679\u5708\nturtle.penup()\nturtle.goto(-135, 120)\nturtle.pensize(5)\nturtle.pencolor(\"cyan\")\nturtle.pendown()\nturtle.setheading(60)\nturtle.circle(-165, 150)\nturtle.circle(-130, 78)\nturtle.circle(-250, 30)\nturtle.circle(-138, 105)\nturtle.penup()\nturtle.goto(-131, 116)\nturtle.pencolor(\"slateblue\")\nturtle.pendown()\nturtle.setheading(60)\nturtle.circle(-160, 144)\nturtle.circle(-120, 78)\nturtle.circle(-242, 30)\nturtle.circle(-135, 105)\nturtle.penup()\nturtle.goto(-127, 112)\nturtle.pencolor(\"orangered\")\nturtle.pendown()\nturtle.setheading(60)\nturtle.circle(-155, 136)\nturtle.circle(-116, 86)\nturtle.circle(-220, 30)\nturtle.circle(-134, 103)\nturtle.penup()\nturtle.goto(-123, 108)\nturtle.pencolor(\"gold\")\nturtle.pendown()\nturtle.setheading(60)\nturtle.circle(-150, 136)\nturtle.circle(-104, 86)\nturtle.circle(-220, 30)\nturtle.circle(-126, 102)\nturtle.penup()\nturtle.goto(-120, 104)\nturtle.pencolor(\"greenyellow\")\nturtle.pendown()\nturtle.setheading(60)\nturtle.circle(-145, 136)\nturtle.circle(-90, 83)\nturtle.circle(-220, 30)\nturtle.circle(-120, 100)\nturtle.penup()\n# \u7231\u5fc3\nturtle.penup()\nturtle.goto(220, 115)\nturtle.pencolor(\"brown\")\nturtle.pensize(1)\nturtle.fillcolor(\"brown\")\nturtle.begin_fill()\nturtle.pendown()\nturtle.setheading(36)\nturtle.circle(-8, 180)\nturtle.circle(-60, 24)\nturtle.setheading(110)\nturtle.circle(-60, 24)\nturtle.circle(-8, 180)\nturtle.end_fill()\n# \u4e94\u73af\nturtle.penup()\nturtle.goto(-5, -170)\nturtle.pendown()\nturtle.pencolor(\"blue\")\nturtle.circle(6)\nturtle.penup()\nturtle.goto(10, -170)\nturtle.pendown()\nturtle.pencolor(\"black\")\nturtle.circle(6)\nturtle.penup()\nturtle.goto(25, -170)\nturtle.pendown()\nturtle.pencolor(\"brown\")\nturtle.circle(6)\nturtle.penup()\nturtle.goto(2, -175)\nturtle.pendown()\nturtle.pencolor(\"lightgoldenrod\")\nturtle.circle(6)\nturtle.penup()\nturtle.goto(16, -175)\nturtle.pendown()\nturtle.pencolor(\"green\")\nturtle.circle(6)\nturtle.penup()\nturtle.pencolor(\"black\")\nturtle.goto(-16, -160)\nturtle.write(\"BEIJING 2022\", font=('Arial', 10, 'bold italic'))\nturtle.hideturtle()\nturtle.done()\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":7,"featured_media":341,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[8,19,20],"class_list":["post-340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tyjs","tag-python","tag-turtle","tag-20"],"_links":{"self":[{"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=\/wp\/v2\/posts\/340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=340"}],"version-history":[{"count":1,"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=\/wp\/v2\/posts\/340\/revisions"}],"predecessor-version":[{"id":342,"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=\/wp\/v2\/posts\/340\/revisions\/342"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=\/wp\/v2\/media\/341"}],"wp:attachment":[{"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=340"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/lhy.cpolar.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}