summaryrefslogtreecommitdiffhomepage
path: root/es-es
diff options
context:
space:
mode:
authorBoris Verkhovskiy <boris.verk@gmail.com>2024-04-04 08:31:05 -0700
committerGitHub <noreply@github.com>2024-04-04 08:31:05 -0700
commitffa3f1292572d81c849d49efdf0eb7f186274fb6 (patch)
treef7ffaa56e23453c0a99fccc9921b624d8f751076 /es-es
parent0175032b87521c59ee9aa8c68d534b9ddd771f9c (diff)
parent7479c4db9044c0e438fa565f9319527164280ee6 (diff)
Merge pull request #4552 from SrMarques/patch-1
[python/es] Update incorrect variables
Diffstat (limited to 'es-es')
-rw-r--r--es-es/python-es.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/es-es/python-es.html.markdown b/es-es/python-es.html.markdown
index 0b21e479..a8f01089 100644
--- a/es-es/python-es.html.markdown
+++ b/es-es/python-es.html.markdown
@@ -421,7 +421,7 @@ map(sumar_10, [1,2,3]) #=> [11, 12, 13]
filter(lambda x: x > 5, [3, 4, 5, 6, 7]) #=> [6, 7]
# Podemos usar listas por comprensiĆ³n para mapeos y filtros agradables
-[add_10(i) for i in [1, 2, 3]] #=> [11, 12, 13]
+[sumar_10(i) for i in [1, 2, 3]] #=> [11, 12, 13]
[x for x in [3, 4, 5, 6, 7] if x > 5] #=> [6, 7]
# tambiƩn hay diccionarios
{k:k**2 for k in range(3)} #=> {0: 0, 1: 1, 2: 4}