{"id":39438,"date":"2016-11-27T14:31:33","date_gmt":"2016-11-27T20:31:33","guid":{"rendered":"http:\/\/tastinq.wordpress.com\/?p=353"},"modified":"2016-11-27T14:31:33","modified_gmt":"2016-11-27T20:31:33","slug":"suma-y-multiplicacion-en-listas","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/suma-y-multiplicacion-en-listas\/","title":{"rendered":"Suma y Multiplicaci\u00f3n en Listas"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/tastinq.wordpress.com\/2016\/11\/27\/suma-y-multiplicacion-en-listas\/\"><a href=\"https:\/\/tastinq.wordpress.com\">Programming: First Steps<\/a><\/a><\/em><br \/><\/p>\n<p>El ejercicio 6 consist\u00eda en definir dos funciones: una que sume todos los n\u00fameros en una lista de n\u00fameros por ejemplo:\u00a0<code>sum([1, 2, 3, 4])<\/code>\u00a0debe regresar\u00a0<code>10<\/code>\u00a0. La otra funci\u00f3n debe multiplicar todos los n\u00fameros en una lista de n\u00fameros. Por ejemplo: \u00a0<code>multiply([1, 2, 3, 4])<\/code>\u00a0debe regresar\u00a0<code>24<\/code>.<\/p>\n<p><img class=\"alignnone size-full wp-image-359\" src=\"https:\/\/tastinq.files.wordpress.com\/2016\/11\/2016-11-27-7.png?w=840\" alt=\"2016-11-27-7\" srcset=\"https:\/\/tastinq.files.wordpress.com\/2016\/11\/2016-11-27-7.png 415w, https:\/\/tastinq.files.wordpress.com\/2016\/11\/2016-11-27-7.png?w=150 150w, https:\/\/tastinq.files.wordpress.com\/2016\/11\/2016-11-27-7.png?w=300 300w\" sizes=\"(max-width: 415px) 100vw, 415px\"   \/><\/p>\n<p><img class=\"alignnone size-full wp-image-358\" src=\"https:\/\/tastinq.files.wordpress.com\/2016\/11\/2016-11-27-8.png?w=840\" alt=\"2016-11-27-8\" srcset=\"https:\/\/tastinq.files.wordpress.com\/2016\/11\/2016-11-27-8.png 237w, https:\/\/tastinq.files.wordpress.com\/2016\/11\/2016-11-27-8.png?w=150 150w\" sizes=\"(max-width: 237px) 100vw, 237px\"   \/><\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/tastinq.wordpress.com\/353\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/tastinq.wordpress.com\/353\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=tastinq.wordpress.com&#038;blog=115241977&%23038;post=353&%23038;subd=tastinq&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Programming: First Steps El ejercicio 6 consist\u00eda en definir dos funciones: una que sume todos los n\u00fameros en una lista de n\u00fameros por ejemplo:\u00a0sum([1, 2, 3, 4])\u00a0debe regresar\u00a010\u00a0. La otra funci\u00f3n debe multiplicar todos los n\u00fameros en una lista de n\u00fameros. Por ejemplo: \u00a0multiply([1, 2, 3, 4])\u00a0debe regresar\u00a024.<\/p>\n","protected":false},"author":39,"featured_media":359,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[28],"class_list":["post-39438","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\/39438","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=39438"}],"version-history":[{"count":4,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/39438\/revisions"}],"predecessor-version":[{"id":40070,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/39438\/revisions\/40070"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=39438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=39438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=39438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}