summaryrefslogtreecommitdiffhomepage
path: root/es-es/python-es.html.markdown
diff options
context:
space:
mode:
authorGustavo Adolfo Mejía Sánchez <gamez.live@gmail.com>2023-03-31 11:23:16 -0500
committerGitHub <noreply@github.com>2023-03-31 11:23:16 -0500
commit7d6a852cecd57f1b7368ad364c62644ac77d59d7 (patch)
tree7b2994519a8c87777f01cf54217e0477a94b8a80 /es-es/python-es.html.markdown
parent9817ee032b7f1bf6983f534e35568cdab2b9cadb (diff)
Update python-es.html.markdown
- comment explanation - translate the say function to "decir" to match with the final print
Diffstat (limited to 'es-es/python-es.html.markdown')
-rw-r--r--es-es/python-es.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/es-es/python-es.html.markdown b/es-es/python-es.html.markdown
index 5c95854f..0b21e479 100644
--- a/es-es/python-es.html.markdown
+++ b/es-es/python-es.html.markdown
@@ -328,7 +328,7 @@ dicc_lleno = {"uno": 1, "dos": 2, "tres": 3}
nuestro_iterable = dicc_lleno.keys()
print(nuestro_iterable) #=> dict_keys(['uno', 'dos', 'tres']). Este es un objeto que implementa nuestra interfaz Iterable
-Podemos recorrerla.
+# Podemos recorrerla.
for i in nuestro_iterable:
print(i) # Imprime uno, dos, tres
@@ -548,7 +548,7 @@ def pedir(_decir):
@pedir
-def say(decir_por_favor=False):
+def decir(decir_por_favor=False):
mensaje = "¿Puedes comprarme una cerveza?"
return mensaje, decir_por_favor