forked from tdwojak/Python2018
zad 10
This commit is contained in:
parent
acf48c8e1e
commit
02ce6f4aaf
@ -9,7 +9,11 @@ na wielką. Np. pokemon_speak('pokemon') powinno zwrócić 'PoKeMoN'.
|
||||
|
||||
|
||||
def pokemon_speak(text):
|
||||
pass
|
||||
for i in text:
|
||||
if i in text[::2]:
|
||||
return i.upper()
|
||||
|
||||
|
||||
|
||||
|
||||
def tests(f):
|
||||
|
Loading…
Reference in New Issue
Block a user