{"id":35286,"date":"2016-04-07T00:43:56","date_gmt":"2016-04-07T05:43:56","guid":{"rendered":"http:\/\/andreatrejod.wordpress.com\/?p=268"},"modified":"2016-04-07T00:47:52","modified_gmt":"2016-04-07T05:47:52","slug":"quiz6-3","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/04\/quiz6-3\/","title":{"rendered":"Quiz#6"},"content":{"rendered":"<h2>The Quiz<\/h2>\n<ol>\n<li>Write a function to calculate the greatest common denominator of two positive integers using Euclid\u2019s algorithm.<\/li>\n<\/ol>\n<h2>What to Do<\/h2>\n<p>The function should receive two integers and return an integer.Obviously you should test your function, so create a main program that asks the user for two values, calculates the gcd and displays that.<\/p>\n<p>Al leer de que se trataba este algoritmo de Euclid&#8217;s gracias a la\u00a0<a href=\"https:\/\/www.khanacademy.org\/computing\/computer-science\/cryptography\/modarithmetic\/a\/the-euclidean-algorithm\">informaci\u00f3n<\/a>\u00a0proporcionada por Ken, no puede evitar pensar que con esto resolver\u00edamos los problemas que tiene algunos con las fracciones jaja.<\/p>\n<p>Pero en fin, aqu\u00ed est\u00e1 el programa:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-275\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/8a35673eb908304f377dc189a60f297e.jpg\" alt=\"quiz6\"   \/><\/p>\n<p>And the link at\u00a0<a href=\"https:\/\/github.com\/andreatrejod\/TC101\/blob\/master\/quiz6.py\">GitHub<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/andreatrejod.wordpress.com\/268\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/1a1e90b64d2f1d5965e2b5b9a701f8ba.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/04\/d2524573d76069c32a6d311e7b5e3001.jpg#038;blog=97425938&#038;%23038;post=268&#038;%23038;subd=andreatrejod&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Quiz Write a function to calculate the greatest common denominator of two positive integers using Euclid\u2019s algorithm. What to Do The function should receive two integers and return an integer.Obviously you should test your function, so create a main program that asks the user for two values, calculates the gcd and displays that. Al &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/04\/quiz6-3\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Quiz#6<\/span><\/a><\/p>\n","protected":false},"author":73,"featured_media":35314,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[45],"class_list":["post-35286","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-sin-categoria"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35286","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\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=35286"}],"version-history":[{"count":4,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35286\/revisions"}],"predecessor-version":[{"id":35320,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/35286\/revisions\/35320"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/35314"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=35286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=35286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=35286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}