forked from tdwojak/Python2017
commited tasks
This commit is contained in:
parent
4816a4408f
commit
06b4cc2eff
@ -9,10 +9,7 @@ Np. leet('leet') powinno zwrócić '1337'.
|
|||||||
|
|
||||||
|
|
||||||
def leet_speak(text):
|
def leet_speak(text):
|
||||||
text_tmp = str(text)
|
text_tmp = text
|
||||||
text_tmp = text_tmp.replace('[', '')
|
|
||||||
text_tmp = text_tmp.replace(']', '')
|
|
||||||
text_tmp = text_tmp.replace("'", '')
|
|
||||||
lista_temp = ""
|
lista_temp = ""
|
||||||
for i in text_tmp:
|
for i in text_tmp:
|
||||||
if i =='e':
|
if i =='e':
|
||||||
|
Loading…
Reference in New Issue
Block a user