{"id":35346,"date":"2016-04-07T00:01:33","date_gmt":"2016-04-07T05:01:33","guid":{"rendered":"http:\/\/paogarcia2401.wordpress.com\/?p=769"},"modified":"2016-04-07T04:00:38","modified_gmt":"2016-04-07T09:00:38","slug":"wsq11-yo-soy-196-7","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/04\/wsq11-yo-soy-196-7\/","title":{"rendered":"(WSQ11) Yo soy 196"},"content":{"rendered":"<p>After a brain-burning-process, I finally got it. After some appointments to Ken&#8217;s office and tons of coffee, Yo soy 196 is here.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-775\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/76429e285035c8f0949cdf9a42d5cff6.jpg\" alt=\"wsq1101\"   \/><\/p>\n<p>First of all, we shall create functions that will help us to find which number is a palindrome, which one can become one and which one is a Lycherel number.<\/p>\n<p>The second part is a BIG piece of code. Here it is:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-780\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/42f6a562098d5970edfe46a952f620c4.jpg\" alt=\"wsq1102\"   \/><\/p>\n<p>From line 13 to line 21 I created three lists to add the values depending on it&#8217;s category. And of course, I wrote the inputs to get our upper and lower bound to evaluate the range between them.<\/p>\n<p>And trust me, there\u00b4s no better way to explain the following lines\u00a0than with a flowchart, a magical flowchart:<img decoding=\"async\" class=\"alignnone size-full wp-image-791\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/c3491e62b47bbdf1a0b1e7c1c6a05483.jpg\" alt=\"wsq1103.png\"   \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-783\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/c5d346c57de0db94878a2acec3d92ccf.jpg\" alt=\"yosoy196image\"   \/><\/p>\n<p>Last lines are written to print the results.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-791\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/c3491e62b47bbdf1a0b1e7c1c6a05483.jpg\" alt=\"wsq1103\"   \/><\/p>\n<p>&nbsp;<\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/paogarcia2401.wordpress.com\/769\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/7d8f0758f04dc48254a26161c96d1dcb.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/e6e54d394de2a43ede46de64f0357436.jpg#038;blog=105178067&#038;%23038;post=769&#038;%23038;subd=paogarcia2401&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a brain-burning-process, I finally got it. After some appointments to Ken&#8217;s office and tons of coffee, Yo soy 196 is here. First of all, we shall create functions that will help us to find which number is a palindrome, which one can become one and which one is a Lycherel number. The second part &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/04\/wsq11-yo-soy-196-7\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">(WSQ11) Yo soy 196<\/span><\/a><\/p>\n","protected":false},"author":11,"featured_media":35357,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[215],"class_list":["post-35346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-wsq11"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=35346"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35346\/revisions"}],"predecessor-version":[{"id":35367,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35346\/revisions\/35367"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/35357"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=35346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=35346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=35346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}