{"action":"created","comment":{"url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/comments/184225692","pull_request_review_id":115378581,"id":184225692,"diff_hunk":"@@ -0,0 +1,190 @@\n+# 4 Un programa de Chistes\n+\n+![Matraz de Erlenmeyer](https://inventwithpython.com/invent4thed/images/00016.jpeg \"Matraz de Erlenmeyer\")\n+\n+Este capítulo le cuenta algunas bromas a las personas usuarias y les demuestra algunas maneras avanzadas de utilizar cadenas utilizando la función print(). La mayoría de los juegos en este libro tendrán un texto simple de entrada y salida. La entrada es digitada por la usuaria utilizando el teclado y la salida es el texto desplegado en la pantalla.\n+\n+\n+***\n+Temas cubiertos en este capítulo:\n+* Caracteres de escape\n+* Uso de comillas simples y dobles para manejo de cadenas\n+* Utilizando el argumento palabra clave \"end\" de la función print() para evitar nuevas lineas\n+***\n+\n+Ya aprendiste cómo desplegar una salida de texto simple utilizando la función print(). Ahora vamos a profundizar y veremos cómo las cadenas y `print()` funcionan en Python.\n+\n+## Ejemplo de ejecución del programa Chistes\n+\n+Esto es lo que la usuaria ve cuando ejecuta el programa Chistes:\n+\n+<pre>\n+¿Qué sale de la cruza entre un mono y un pato?\n+¡Un monopatín!\n+\n+¿Porqué vuelan los pájaros pa'l sur?\n+¡Porque caminando tardarían muchísimo!\n+\n+¿En qué se parecen una familia, un bombero y un barco?\n+No sé... ¿en qué se parecen?\n+En que el bombero y el barco tienen casco.\n+¿Y la familia? -Bien, gracias.\n+</pre>\n+\n+Si obtienes errores después de escribir este código, compáralo con el código del libro con la herramienta diff en línea en http://invpy.com/es/diff/chistes.\n+\n+<pre>\n+<b>¡NOTA IMPORTANTE!:</b> Los programas de este libro sólo podrán ejecutarse sobre Python 3, no Python 2. Al iniciar la ventana IDLE, dirá algo como “Python 3.4.2” en la parte superior. Si tienes Python 2 instalado, es posible instalar también Python 3 a la vez. Para descargar Python 3, dirígete a https://python.org/download/.\n+</pre>\n+\n+![Python 3](https://inventwithpython.com/invent4thed/images/00060.jpeg \"Python3\")\n+\n+<pre>\n+<b>chistes.py</b>","path":"capitulo4.md","position":43,"original_position":43,"commit_id":"3dbb3d4eef9d7c6cc9a2c1015327a9f2ed594ff6","original_commit_id":"3dbb3d4eef9d7c6cc9a2c1015327a9f2ed594ff6","user":{"login":"elopio","id":617831,"avatar_url":"https://avatars3.githubusercontent.com/u/617831?v=4","gravatar_id":"","url":"https://api.github.com/users/elopio","html_url":"https://github.com/elopio","followers_url":"https://api.github.com/users/elopio/followers","following_url":"https://api.github.com/users/elopio/following{/other_user}","gists_url":"https://api.github.com/users/elopio/gists{/gist_id}","starred_url":"https://api.github.com/users/elopio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elopio/subscriptions","organizations_url":"https://api.github.com/users/elopio/orgs","repos_url":"https://api.github.com/users/elopio/repos","events_url":"https://api.github.com/users/elopio/events{/privacy}","received_events_url":"https://api.github.com/users/elopio/received_events","type":"User","site_admin":false},"body":"no se, yo ya no se. Dejemoslo así y luego discutimos con cervezas.","created_at":"2018-04-25T22:35:59Z","updated_at":"2018-04-25T22:36:00Z","html_url":"https://github.com/JaquerEspeis/inventar-con-python/pull/11#discussion_r184225692","pull_request_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/comments/184225692"},"html":{"href":"https://github.com/JaquerEspeis/inventar-con-python/pull/11#discussion_r184225692"},"pull_request":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11"}},"in_reply_to_id":183939185},"pull_request":{"url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11","id":183885039,"html_url":"https://github.com/JaquerEspeis/inventar-con-python/pull/11","diff_url":"https://github.com/JaquerEspeis/inventar-con-python/pull/11.diff","patch_url":"https://github.com/JaquerEspeis/inventar-con-python/pull/11.patch","issue_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/issues/11","number":11,"state":"open","locked":false,"title":"Traducción capitulo4","user":{"login":"dtec83","id":32365833,"avatar_url":"https://avatars1.githubusercontent.com/u/32365833?v=4","gravatar_id":"","url":"https://api.github.com/users/dtec83","html_url":"https://github.com/dtec83","followers_url":"https://api.github.com/users/dtec83/followers","following_url":"https://api.github.com/users/dtec83/following{/other_user}","gists_url":"https://api.github.com/users/dtec83/gists{/gist_id}","starred_url":"https://api.github.com/users/dtec83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtec83/subscriptions","organizations_url":"https://api.github.com/users/dtec83/orgs","repos_url":"https://api.github.com/users/dtec83/repos","events_url":"https://api.github.com/users/dtec83/events{/privacy}","received_events_url":"https://api.github.com/users/dtec83/received_events","type":"User","site_admin":false},"body":"Traducción capitulo4.md","created_at":"2018-04-24T22:47:58Z","updated_at":"2018-04-25T22:36:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"915469ef109b644b43045a0f22e28edb39a08aee","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11/commits","review_comments_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11/comments","review_comment_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/issues/11/comments","statuses_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/statuses/3dbb3d4eef9d7c6cc9a2c1015327a9f2ed594ff6","head":{"label":"dtec83:master","ref":"master","sha":"3dbb3d4eef9d7c6cc9a2c1015327a9f2ed594ff6","user":{"login":"dtec83","id":32365833,"avatar_url":"https://avatars1.githubusercontent.com/u/32365833?v=4","gravatar_id":"","url":"https://api.github.com/users/dtec83","html_url":"https://github.com/dtec83","followers_url":"https://api.github.com/users/dtec83/followers","following_url":"https://api.github.com/users/dtec83/following{/other_user}","gists_url":"https://api.github.com/users/dtec83/gists{/gist_id}","starred_url":"https://api.github.com/users/dtec83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtec83/subscriptions","organizations_url":"https://api.github.com/users/dtec83/orgs","repos_url":"https://api.github.com/users/dtec83/repos","events_url":"https://api.github.com/users/dtec83/events{/privacy}","received_events_url":"https://api.github.com/users/dtec83/received_events","type":"User","site_admin":false},"repo":{"id":130920807,"name":"inventar-con-python","full_name":"dtec83/inventar-con-python","owner":{"login":"dtec83","id":32365833,"avatar_url":"https://avatars1.githubusercontent.com/u/32365833?v=4","gravatar_id":"","url":"https://api.github.com/users/dtec83","html_url":"https://github.com/dtec83","followers_url":"https://api.github.com/users/dtec83/followers","following_url":"https://api.github.com/users/dtec83/following{/other_user}","gists_url":"https://api.github.com/users/dtec83/gists{/gist_id}","starred_url":"https://api.github.com/users/dtec83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtec83/subscriptions","organizations_url":"https://api.github.com/users/dtec83/orgs","repos_url":"https://api.github.com/users/dtec83/repos","events_url":"https://api.github.com/users/dtec83/events{/privacy}","received_events_url":"https://api.github.com/users/dtec83/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtec83/inventar-con-python","description":"Traducción del libro «Invent Your Own Computer Games with Python, 4th Edition», de Al Sweigart","fork":true,"url":"https://api.github.com/repos/dtec83/inventar-con-python","forks_url":"https://api.github.com/repos/dtec83/inventar-con-python/forks","keys_url":"https://api.github.com/repos/dtec83/inventar-con-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtec83/inventar-con-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtec83/inventar-con-python/teams","hooks_url":"https://api.github.com/repos/dtec83/inventar-con-python/hooks","issue_events_url":"https://api.github.com/repos/dtec83/inventar-con-python/issues/events{/number}","events_url":"https://api.github.com/repos/dtec83/inventar-con-python/events","assignees_url":"https://api.github.com/repos/dtec83/inventar-con-python/assignees{/user}","branches_url":"https://api.github.com/repos/dtec83/inventar-con-python/branches{/branch}","tags_url":"https://api.github.com/repos/dtec83/inventar-con-python/tags","blobs_url":"https://api.github.com/repos/dtec83/inventar-con-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtec83/inventar-con-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtec83/inventar-con-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtec83/inventar-con-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtec83/inventar-con-python/statuses/{sha}","languages_url":"https://api.github.com/repos/dtec83/inventar-con-python/languages","stargazers_url":"https://api.github.com/repos/dtec83/inventar-con-python/stargazers","contributors_url":"https://api.github.com/repos/dtec83/inventar-con-python/contributors","subscribers_url":"https://api.github.com/repos/dtec83/inventar-con-python/subscribers","subscription_url":"https://api.github.com/repos/dtec83/inventar-con-python/subscription","commits_url":"https://api.github.com/repos/dtec83/inventar-con-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtec83/inventar-con-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtec83/inventar-con-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtec83/inventar-con-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtec83/inventar-con-python/contents/{+path}","compare_url":"https://api.github.com/repos/dtec83/inventar-con-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtec83/inventar-con-python/merges","archive_url":"https://api.github.com/repos/dtec83/inventar-con-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtec83/inventar-con-python/downloads","issues_url":"https://api.github.com/repos/dtec83/inventar-con-python/issues{/number}","pulls_url":"https://api.github.com/repos/dtec83/inventar-con-python/pulls{/number}","milestones_url":"https://api.github.com/repos/dtec83/inventar-con-python/milestones{/number}","notifications_url":"https://api.github.com/repos/dtec83/inventar-con-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtec83/inventar-con-python/labels{/name}","releases_url":"https://api.github.com/repos/dtec83/inventar-con-python/releases{/id}","deployments_url":"https://api.github.com/repos/dtec83/inventar-con-python/deployments","created_at":"2018-04-24T22:31:27Z","updated_at":"2018-04-24T22:37:15Z","pushed_at":"2018-04-24T22:37:12Z","git_url":"git://github.com/dtec83/inventar-con-python.git","ssh_url":"git@github.com:dtec83/inventar-con-python.git","clone_url":"https://github.com/dtec83/inventar-con-python.git","svn_url":"https://github.com/dtec83/inventar-con-python","homepage":"https://inventwithpython.com/invent4thed/","size":56,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JaquerEspeis:master","ref":"master","sha":"f562c24bda6a6294321564fb12e81574821ed3d2","user":{"login":"JaquerEspeis","id":12385099,"avatar_url":"https://avatars0.githubusercontent.com/u/12385099?v=4","gravatar_id":"","url":"https://api.github.com/users/JaquerEspeis","html_url":"https://github.com/JaquerEspeis","followers_url":"https://api.github.com/users/JaquerEspeis/followers","following_url":"https://api.github.com/users/JaquerEspeis/following{/other_user}","gists_url":"https://api.github.com/users/JaquerEspeis/gists{/gist_id}","starred_url":"https://api.github.com/users/JaquerEspeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaquerEspeis/subscriptions","organizations_url":"https://api.github.com/users/JaquerEspeis/orgs","repos_url":"https://api.github.com/users/JaquerEspeis/repos","events_url":"https://api.github.com/users/JaquerEspeis/events{/privacy}","received_events_url":"https://api.github.com/users/JaquerEspeis/received_events","type":"Organization","site_admin":false},"repo":{"id":121472000,"name":"inventar-con-python","full_name":"JaquerEspeis/inventar-con-python","owner":{"login":"JaquerEspeis","id":12385099,"avatar_url":"https://avatars0.githubusercontent.com/u/12385099?v=4","gravatar_id":"","url":"https://api.github.com/users/JaquerEspeis","html_url":"https://github.com/JaquerEspeis","followers_url":"https://api.github.com/users/JaquerEspeis/followers","following_url":"https://api.github.com/users/JaquerEspeis/following{/other_user}","gists_url":"https://api.github.com/users/JaquerEspeis/gists{/gist_id}","starred_url":"https://api.github.com/users/JaquerEspeis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaquerEspeis/subscriptions","organizations_url":"https://api.github.com/users/JaquerEspeis/orgs","repos_url":"https://api.github.com/users/JaquerEspeis/repos","events_url":"https://api.github.com/users/JaquerEspeis/events{/privacy}","received_events_url":"https://api.github.com/users/JaquerEspeis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JaquerEspeis/inventar-con-python","description":"Traducción del libro «Invent Your Own Computer Games with Python, 4th Edition», de Al Sweigart","fork":false,"url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python","forks_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/forks","keys_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/teams","hooks_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/hooks","issue_events_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/issues/events{/number}","events_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/events","assignees_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/assignees{/user}","branches_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/branches{/branch}","tags_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/tags","blobs_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/statuses/{sha}","languages_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/languages","stargazers_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/stargazers","contributors_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/contributors","subscribers_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/subscribers","subscription_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/subscription","commits_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/contents/{+path}","compare_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/merges","archive_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/downloads","issues_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/issues{/number}","pulls_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls{/number}","milestones_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/milestones{/number}","notifications_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/labels{/name}","releases_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/releases{/id}","deployments_url":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/deployments","created_at":"2018-02-14T04:49:47Z","updated_at":"2018-04-19T18:30:32Z","pushed_at":"2018-04-24T22:47:59Z","git_url":"git://github.com/JaquerEspeis/inventar-con-python.git","ssh_url":"git@github.com:JaquerEspeis/inventar-con-python.git","clone_url":"https://github.com/JaquerEspeis/inventar-con-python.git","svn_url":"https://github.com/JaquerEspeis/inventar-con-python","homepage":"https://inventwithpython.com/invent4thed/","size":44,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":3,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11"},"html":{"href":"https://github.com/JaquerEspeis/inventar-con-python/pull/11"},"issue":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/issues/11"},"comments":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/JaquerEspeis/inventar-con-python/statuses/3dbb3d4eef9d7c6cc9a2c1015327a9f2ed594ff6"}},"author_association":"NONE"}}
{"actor":{"display_login":"elopio"}}