1
0
Fork 0

commited tasks

This commit is contained in:
s45150 2017-12-01 17:52:46 +01:00
parent fe8c5810e4
commit b3e6b03710
1 changed files with 2 additions and 4 deletions

View File

@ -10,12 +10,10 @@ na wielką. Np. pokemon_speak('pokemon') powinno zwrócić 'PoKeMoN'.
def pokemon_speak(text):
#spacja Asci 32
text_tmp = str(text)
text_tmp = text_tmp.replace('[', '')
text_tmp = text_tmp.replace(']', '')
text_tmp = text_tmp.replace("'", '')
lista_temp = ""
j = 1
for i in text:
if ord(i) == 32:
j=1