From be715d3c6578eaf4cfb10316fed47633be74d508 Mon Sep 17 00:00:00 2001 From: Pedro Yanez <72775296+wotanCode@users.noreply.github.com> Date: Sat, 24 Jul 2021 18:28:44 -0400 Subject: [PATCH] =?UTF-8?q?Error=20en=20el=20c=C3=B3digo=20de=20ejemplo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit En la linea 32 dice: return (num % 2)! == 0: En python esta sintaxis es incorrecta. Lo correcto es: return (num % 2) != 0 --- exercises/06-lambda-functions/README.es.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/06-lambda-functions/README.es.md b/exercises/06-lambda-functions/README.es.md index b9ee110..246bca6 100644 --- a/exercises/06-lambda-functions/README.es.md +++ b/exercises/06-lambda-functions/README.es.md @@ -29,5 +29,5 @@ Así es como declararías una función normal ```python # this function return True if a number is odd. def is_odd(num): - return (num % 2)! == 0: + return (num % 2) != 0 ```