From 04b8001333f40b584d2608b76cbe3e9ab5bbe8a5 Mon Sep 17 00:00:00 2001 From: s45158 Date: Sat, 16 Dec 2017 12:47:23 +0100 Subject: [PATCH] Zad 2 and 3 --- labs02/task10.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/labs02/task10.py b/labs02/task10.py index 0e7ac46..9f42592 100644 --- a/labs02/task10.py +++ b/labs02/task10.py @@ -15,9 +15,9 @@ def pokemon_speak(text): value += i.upper() if b else i.lower() b = not b if i.isupper() == True: - return print(text) + return text else: - return print(value) + return value pokemon_speak('pokemon')