{"id":1533,"date":"2018-03-04T01:34:27","date_gmt":"2018-03-04T01:34:27","guid":{"rendered":"http:\/\/zatizi.com\/?p=1533"},"modified":"2018-03-04T01:34:27","modified_gmt":"2018-03-04T01:34:27","slug":"a-cercle-of-squares-in-python","status":"publish","type":"post","link":"https:\/\/zatizi.com\/?p=1533","title":{"rendered":"A cercle of squares in Python\u00a0?"},"content":{"rendered":"<pre>import turtle\n\ndef square(x):\n    for i in range(4):\n        turtle.forward(x)\n        turtle.left(90)\n\nturtle.speed(20)\nwindow = turtle.Screen()\nwindow.bgcolor(\"yellow\")\n\nfor j in range(180):\n    turtle.left(2)\n    square(100)\n\nwindow.exitonclick()\n\n# program: A Cercle of Squares\n# implementation in Python 3.x: A.-P. Gaspar\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>import turtle def square(x): for i in range(4): turtle.forward(x) turtle.left(90) turtle.speed(20) window = turtle.Screen() window.bgcolor(&#8220;yellow&#8221;) for j in range(180): turtle.left(2) square(100) window.exitonclick() # program: A Cercle of Squares # implementation in Python 3.x: A.-P. Gaspar<\/p>\n","protected":false},"author":1,"featured_media":1554,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[196,610,687],"persona":[],"class_list":["post-1533","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-en","tag-cercle","tag-python","tag-square","has-thumbnail"],"_links":{"self":[{"href":"https:\/\/zatizi.com\/index.php?rest_route=\/wp\/v2\/posts\/1533","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zatizi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zatizi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zatizi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zatizi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1533"}],"version-history":[{"count":0,"href":"https:\/\/zatizi.com\/index.php?rest_route=\/wp\/v2\/posts\/1533\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zatizi.com\/index.php?rest_route=\/wp\/v2\/media\/1554"}],"wp:attachment":[{"href":"https:\/\/zatizi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zatizi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1533"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zatizi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1533"},{"taxonomy":"persona","embeddable":true,"href":"https:\/\/zatizi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fpersona&post=1533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}