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/3] 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/3] =?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 From 5f5bdf33f47af68f7ff8d5d72f744b0dbace54d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Henrique?= <103338880+serghenr@users.noreply.github.com> Date: Mon, 22 Jun 2026 19:29:48 -0300 Subject: [PATCH 3/3] =?UTF-8?q?exerc=C3=ADcio=20anagram=20resolvido?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exercises/practice/anagram/anagram.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/exercises/practice/anagram/anagram.py b/exercises/practice/anagram/anagram.py index 9812eb18f25..e1024647407 100644 --- a/exercises/practice/anagram/anagram.py +++ b/exercises/practice/anagram/anagram.py @@ -1,2 +1,7 @@ def find_anagrams(word, candidates): - pass + resultado = [] + + for anagrams in candidates: + if word.lower() != anagrams.lower() and sorted(anagrams.lower()) == sorted(word.lower()): + resultado.append(anagrams) + return resultado \ No newline at end of file