1
0
forked from tdwojak/Python2017
This commit is contained in:
s45152 2017-12-01 18:17:20 +01:00
parent 9155f1e9ae
commit b6a0c7978c

View File

@ -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):