{"id":27932,"date":"2016-01-20T19:08:39","date_gmt":"2016-01-21T01:08:39","guid":{"rendered":"http:\/\/carlosdanielmartinezblog.wordpress.com\/?p=76"},"modified":"2016-01-26T09:24:09","modified_gmt":"2016-01-26T15:24:09","slug":"wsq02-7","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2016\/2016\/01\/wsq02-7\/","title":{"rendered":"#WSQ02"},"content":{"rendered":"<h3 style=\"text-align:center;\"><span style=\"color:#10b4c9;\">&#8220;Hello World&#8221;<\/span><\/h3>\n<p><strong>E<\/strong>n esta\u00a0ocasi\u00f3n realice un simple programa para mostrar un texto en pantalla, as\u00ed como para pedir una entrada por el usuario y mostrar un texto.<\/p>\n<p><span style=\"color:#99cc00;\">print:<\/span> es el comando utilizado para escribir en pantalla<\/p>\n<p><span style=\"color:#99cc00;\">input:<\/span> espera una respuesta del usuario<\/p>\n<p>Utilice print de nuevo pero esta vez con comas para concatenar el texto con la respuesta del usuario.<\/p>\n<p>As\u00ed quedo el c\u00f3digo utilizado:<\/p>\n<p style=\"text-align:left;\"><span style=\"color:#3366ff;\">print<\/span> (<span style=\"color:#ff9900;\">&#8220;Hello World&#8221;<\/span>)<br \/>\n<span style=\"color:#3366ff;\">print<\/span> (<span style=\"color:#ff9900;\">&#8220;What is your name?&#8221;<\/span>)<br \/>\nname= <span style=\"color:#3366ff;\">input<\/span>(<span style=\"color:#ff9900;\">&#8220;&#8221;<\/span>)<br \/>\n<span style=\"color:#3366ff;\">print<\/span> (<span style=\"color:#ff9900;\">&#8220;Hello &#8220;<\/span>,name,<span style=\"color:#ff9900;\">&#8221; This is mi first program in Python&#8221;<\/span>)<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-81\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/01\/45e4523b2bc7bf48410bff7551612b1f.jpg\" alt=\"VirtualBox_Ubuntu_20_01_2016_19_29_07\"   \/><\/p>\n<p>La fuente sobre el c\u00f3digo que utilice la encontr\u00e9 <a href=\"http:\/\/www.mclibre.org\/consultar\/python\/lecciones\/python_entrada_salida.html\">aqui<\/a><\/p>\n<h3><\/h3>\n<p>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/carlosdanielmartinezblog.wordpress.com\/76\/\"><img decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/01\/1ecf012e2738bb0e17d1913f3dd9af69.jpg\" \/><\/a> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/kenscourses.com\/tc101winter2016\/wp-content\/uploads\/2016\/01\/d3fbb834209cfdebdb3bfbe1803961e6.jpg#038;blog=105448664&#038;%23038;post=76&#038;%23038;subd=carlosdanielmartinezblog&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Hello World&#8221; En esta\u00a0ocasi\u00f3n realice un simple programa para mostrar un texto en pantalla, as\u00ed como para pedir una entrada por el usuario y mostrar un texto. print: es el comando utilizado para escribir en pantalla input: espera una respuesta del usuario Utilice print de nuevo pero esta vez con comas para concatenar el texto &hellip; <a href=\"https:\/\/kenscourses.com\/tc101winter2016\/2016\/01\/wsq02-7\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">#WSQ02<\/span><\/a><\/p>\n","protected":false},"author":48,"featured_media":28073,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[41],"class_list":["post-27932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-wsqs"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/27932","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\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/comments?post=27932"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/27932\/revisions"}],"predecessor-version":[{"id":28078,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/posts\/27932\/revisions\/28078"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media\/28073"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/media?parent=27932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/categories?post=27932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2016\/wp-json\/wp\/v2\/tags?post=27932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}