{"id":882,"date":"2023-05-19T21:03:34","date_gmt":"2023-05-19T20:03:34","guid":{"rendered":"https:\/\/jlandresm.com\/?p=882"},"modified":"2023-05-24T14:54:52","modified_gmt":"2023-05-24T13:54:52","slug":"capitulo-2-separadores","status":"publish","type":"post","link":"https:\/\/jlandresm.com\/index.php\/2023\/05\/19\/capitulo-2-separadores\/","title":{"rendered":"Python &#8211; 2 Separadores"},"content":{"rendered":"\n<p>El separador muestra un espacio entre los elementos mostrados por pantalla mediante la funci\u00f3n PRINT.<\/p>\n<p>Con el argumento SEP podemos cambiar el espacio por cualquier otro car\u00e1cter, es decir, que podemos usar cualquier combinaci\u00f3n para separar los elementos mostrados por pantalla con PRINT.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">print (\"Hola\" , \"humano\" , sep=\"---\")<\/pre>\n\n\n\n<div>\n<div>\u00a0<\/div>\n<div>El argumento SEP puede pasarse a trav\u00e9s de una variable a la funci\u00f3n PRINT.<\/div>\n<div>\u00a0<\/div>\n<div>El final de la funci\u00f3n PRINT es, por defecto, el retorno del carro, car\u00e1cter invisible que hace que el pr\u00f3ximo PRINT se realice en la siguiente l\u00ednea. Este final lo podemos cambiar con el argumento END.<\/div>\n<\/div>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">separador = \" ** \"\nfin = \" +-+\"\nprint (\"Hola\", \"humanos\", sep=separador, end=fin)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>El separador muestra un espacio entre los elementos mostrados por pantalla mediante la funci\u00f3n PRINT. Con el argumento SEP podemos cambiar el espacio por cualquier otro car\u00e1cter, es decir, que podemos usar cualquier combinaci\u00f3n para separar los elementos mostrados por&#8230; <a class=\"more-link\" href=\"https:\/\/jlandresm.com\/index.php\/2023\/05\/19\/capitulo-2-separadores\/\">Seguir leyendo &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":970,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2,20],"tags":[],"class_list":["post-882","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-informatica","category-python"],"jetpack_featured_media_url":"https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png","uagb_featured_image_src":{"full":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png",400,400,false],"thumbnail":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador-150x150.png",150,150,true],"medium":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador-300x300.png",300,300,true],"medium_large":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png",400,400,false],"large":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png",400,400,false],"1536x1536":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png",400,400,false],"2048x2048":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png",400,400,false],"post-thumbnail":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png",400,400,false],"post-image":["https:\/\/jlandresm.com\/wp-content\/uploads\/2023\/05\/separador.png",400,400,false]},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/jlandresm.com\/index.php\/author\/adminweb\/"},"uagb_comment_info":0,"uagb_excerpt":"El separador muestra un espacio entre los elementos mostrados por pantalla mediante la funci\u00f3n PRINT. Con el argumento SEP podemos cambiar el espacio por cualquier otro car\u00e1cter, es decir, que podemos usar cualquier combinaci\u00f3n para separar los elementos mostrados por... Seguir leyendo &rarr;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts\/882"}],"collection":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/comments?post=882"}],"version-history":[{"count":7,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts\/882\/revisions"}],"predecessor-version":[{"id":978,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/posts\/882\/revisions\/978"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/media\/970"}],"wp:attachment":[{"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/media?parent=882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/categories?post=882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jlandresm.com\/index.php\/wp-json\/wp\/v2\/tags?post=882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}