Zad 2 and 3
This commit is contained in:
parent
7fa3ef113c
commit
04b8001333
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user