{"id":38706,"date":"2016-10-28T17:39:20","date_gmt":"2016-10-28T22:39:20","guid":{"rendered":"http:\/\/tastinq.wordpress.com\/?p=129"},"modified":"2016-10-28T17:39:20","modified_gmt":"2016-10-28T22:39:20","slug":"guess-the-number","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/guess-the-number\/","title":{"rendered":"Guess the number"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/tastinq.wordpress.com\/2016\/10\/28\/guess-the-number\/\"><a href=\"https:\/\/tastinq.wordpress.com\">Programming: First Steps<\/a><\/a><\/em><br \/><\/p>\n<p>Este codigo se trata de un juego sobre adivinar un n\u00famero que genera Python.<\/p>\n<p>Primero importamos el m\u00f3dulo para que nos pueda proporcionar un n\u00famero aleatorio entre 1 y 100.<\/p>\n<p>Luego creamos un ciclo con un contador para que el usuario tenga 8 oportunidades para adivinar el n\u00famero. Cada vez que \u00e9ste falla, se le suma 1 al contador, para que cuando \u00e9ste llegue a 8, o se adivine el n\u00famero, se cierre el ciclo y termine el juego.<\/p>\n<p><img class=\"alignnone size-full wp-image-291\" src=\"https:\/\/tastinq.files.wordpress.com\/2016\/10\/2016-10-28-5.png?w=840\" alt=\"2016-10-28-5\" srcset=\"https:\/\/tastinq.files.wordpress.com\/2016\/10\/2016-10-28-5.png?w=840 840w, https:\/\/tastinq.files.wordpress.com\/2016\/10\/2016-10-28-5.png?w=150 150w, https:\/\/tastinq.files.wordpress.com\/2016\/10\/2016-10-28-5.png?w=300 300w, https:\/\/tastinq.files.wordpress.com\/2016\/10\/2016-10-28-5.png?w=768 768w, https:\/\/tastinq.files.wordpress.com\/2016\/10\/2016-10-28-5.png?w=1024 1024w, https:\/\/tastinq.files.wordpress.com\/2016\/10\/2016-10-28-5.png 1366w\" sizes=\"(max-width: 840px) 100vw, 840px\"   \/><img class=\"alignnone size-full wp-image-287\" src=\"https:\/\/tastinq.files.wordpress.com\/2016\/09\/ansorri.png?w=840\" alt=\"ansorri\" srcset=\"https:\/\/tastinq.files.wordpress.com\/2016\/09\/ansorri.png 768w, https:\/\/tastinq.files.wordpress.com\/2016\/09\/ansorri.png?w=150 150w, https:\/\/tastinq.files.wordpress.com\/2016\/09\/ansorri.png?w=300 300w\" sizes=\"(max-width: 768px) 100vw, 768px\"   \/><\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/tastinq.wordpress.com\/129\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/tastinq.wordpress.com\/129\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=tastinq.wordpress.com&#038;blog=115241977&%23038;post=129&%23038;subd=tastinq&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Programming: First Steps Este codigo se trata de un juego sobre adivinar un n\u00famero que genera Python. Primero importamos el m\u00f3dulo para que nos pueda proporcionar un n\u00famero aleatorio entre 1 y 100. Luego creamos un ciclo con un contador para que el usuario tenga 8 oportunidades para adivinar el n\u00famero. Cada &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/guess-the-number\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Guess the number<\/span><\/a><\/p>\n","protected":false},"author":39,"featured_media":291,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[28],"class_list":["post-38706","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-uncategorized"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38706","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=38706"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38706\/revisions"}],"predecessor-version":[{"id":38709,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/38706\/revisions\/38709"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=38706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=38706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=38706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}