{"id":326,"date":"2016-03-28T17:14:12","date_gmt":"2016-03-28T15:14:12","guid":{"rendered":"http:\/\/thedutchguys.com\/?p=326"},"modified":"2017-01-24T19:55:26","modified_gmt":"2017-01-24T18:55:26","slug":"skills-python-1","status":"publish","type":"post","link":"https:\/\/thijsbekke.nl\/blog\/2016\/03\/28\/skills-python-1\/","title":{"rendered":"Skills: Python +1"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Leestijd: <\/span> <span class=\"rt-time\">&lt; 1<\/span> <span class=\"rt-label rt-postfix\">Minuut<\/span><\/span><pre class=\"lang:python decode:true \" title=\"Fibonacci\">def fibonacci():\r\n    a = 1\r\n    b = 1\r\n    yield a\r\n    yield b\r\n    for i in xrange(10):\r\n        a, b = a + b, a\r\n        yield a\r\n\r\nfor fibonacci_number in fibonacci():\r\n    print \"Fibonacci: %d\" % fibonacci_number<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Leestijd: <\/span> <span class=\"rt-time\">&lt; 1<\/span> <span class=\"rt-label rt-postfix\">Minuut<\/span><\/span> def fibonacci(): a = 1 b = 1 yield a yield b for i in xrange(10): a, b = a + b, a yield a for fibonacci_number in fibonacci(): print &#8220;Fibonacci: %d&#8221; % fibonacci_number &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":444,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[11,12],"_links":{"self":[{"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/posts\/326"}],"collection":[{"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/comments?post=326"}],"version-history":[{"count":1,"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/posts\/326\/revisions"}],"predecessor-version":[{"id":328,"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/posts\/326\/revisions\/328"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/media\/444"}],"wp:attachment":[{"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/media?parent=326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/categories?post=326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thijsbekke.nl\/blog\/wp-json\/wp\/v2\/tags?post=326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}