diff --git a/labs02/task10.py b/labs02/task10.py index f380f0a..1c2fd80 100644 --- a/labs02/task10.py +++ b/labs02/task10.py @@ -9,7 +9,11 @@ na wielką. Np. pokemon_speak('pokemon') powinno zwrócić 'PoKeMoN'. def pokemon_speak(text): - pass + text = list(text) + for i, ele in enumerate(text): + if i % 2: + text[i] = ele.upper() + return ("".join(text)) def tests(f):