From 6119370b32e8834a8aa5add5aa43801b9b2be0d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Henrique?= Date: Fri, 23 Dec 2022 12:44:08 -0300 Subject: [PATCH 1/2] 1# hello_world.py --- exercises/practice/hello-world/hello_world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/hello-world/hello_world.py b/exercises/practice/hello-world/hello_world.py index adaa6c2c997..d695ea11589 100644 --- a/exercises/practice/hello-world/hello_world.py +++ b/exercises/practice/hello-world/hello_world.py @@ -1,2 +1,2 @@ def hello(): - return 'Goodbye, Mars!' + return 'Hello, World!' From fb51cbe3fd09e8346a32f6c25d976bcfeeec5828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Henrique?= Date: Sun, 21 Jun 2026 10:54:36 -0300 Subject: [PATCH 2/2] =?UTF-8?q?exerc=C3=ADcio=20opera=C3=A7=C3=A3o=20de=20?= =?UTF-8?q?acumular?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exercises/practice/accumulate/accumulate.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/exercises/practice/accumulate/accumulate.py b/exercises/practice/accumulate/accumulate.py index bd64897e110..9462f350151 100644 --- a/exercises/practice/accumulate/accumulate.py +++ b/exercises/practice/accumulate/accumulate.py @@ -1,2 +1,5 @@ def accumulate(collection, operation): - pass + result = [] + for item in collection: + result.append(operation(item)) + return result