{"id":33126,"date":"2016-02-19T22:19:00","date_gmt":"2016-02-20T04:19:00","guid":{"rendered":"http:\/\/kenscourses.com\/tc101winter2016\/?guid=5ff5d523a1975902f8313744362e5521"},"modified":"2016-02-19T23:49:35","modified_gmt":"2016-02-20T05:49:35","slug":"wsq08-on-to-functions-13","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/wsq08-on-to-functions-13\/","title":{"rendered":"#WSQ08  On To Functions"},"content":{"rendered":"<p>No tuve complicaciones con este ejercicio, solo recordar un poco las funciones, lo que si tuve duda es al momento de imprimir el resultado, pues no sabia si esta bien llamar la funcion dentro del &#8220;print&#8221; de esta manera &#8220;print(&#8220;La multiplicacion de tus dos numero es: &#8220;, multiplicacion(x,y))&#8221;, pero ya al compilarlo vi que si es la forma correcta.<\/p>\n<p>Este es mi codigo:<\/p>\n<pre style=\"background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: &quot;andale mono&quot; , &quot;lucida console&quot; , &quot;monaco&quot; , &quot;fixed&quot; , monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;\">       <code style=\"color: black; word-wrap: normal;\"><br \/><br \/>x= int(input(\"Digite el primer numero: \"))<br \/>y= int(input(\"Digite el segundo numero: \"))<br \/><br \/>def resta(x,y,):<br \/>    return x-y<br \/><br \/>def multiplicacion(x,y):<br \/>    return x*y<br \/><br \/>def division(x,y):<br \/>    return  x\/\/y<br \/><br \/>def divisionres(x,y):<br \/>    return x%y<br \/><br \/><br \/>print(\"La resta de tus dos numero es: \", resta (x,y))<br \/>print(\"La multiplicacion de tus dos numero es: \", multiplicacion(x,y))<br \/>print(\"La division de tus dos numero es: \", division(x,y))<br \/>print(\"El residuo de la divison de tus dos numero es: \", divisionres(x,y))<br \/><br \/><br \/>       <\/code><br \/> <\/pre>\n<p>Click en la imagen para ver el codigo en Github:<\/p>\n<div class=\"separator\" style=\"clear: both; text-align: center;\"><a href=\"https:\/\/github.com\/BrandonCano\/FaC\/blob\/master\/reciclado.py\" style=\"clear: left; float: left; margin-bottom: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"95\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/0dbd7e5ccf59528538afe45a2eaabcba.jpg\" width=\"320\" \/><\/a><\/div>\n<p>Mi compilaci\u00f3n:<\/p>\n<p><a href=\"http:\/\/2.bp.blogspot.com\/-_mlpsBUA4Dk\/VsfpFLnsY7I\/AAAAAAAAAhI\/AEZmtDibR-0\/s1600\/sumadenumeros.fw.png\" imageanchor=\"1\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"554\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/02\/40147cbe16c813cb1c23c35a31f39416.jpg\" width=\"640\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>No tuve complicaciones con este ejercicio, solo recordar un poco las funciones, lo que si tuve duda es al momento de imprimir el resultado, pues no sabia si esta bien llamar la funcion dentro del &#8220;print&#8221; de esta manera &#8220;print(&#8220;La multiplicacion de tus dos numero es: &#8220;, multiplicacion(x,y))&#8221;, pero ya al compilarlo vi que si &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/02\/wsq08-on-to-functions-13\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">#WSQ08  On To Functions<\/span><\/a><\/p>\n","protected":false},"author":67,"featured_media":33179,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[],"class_list":["post-33126","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/33126","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\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=33126"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/33126\/revisions"}],"predecessor-version":[{"id":33181,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/33126\/revisions\/33181"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/33179"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=33126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=33126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=33126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}