1
0
forked from tdwojak/Python2017

commited tasks

This commit is contained in:
s45150 2017-11-26 14:54:06 +01:00
parent a33c14f1bb
commit 360ce4d88e

View File

@ -16,15 +16,15 @@ def leet_speak(text):
lista_temp = ""
for i in text_tmp:
if i =='e':
lista_temp.append('3')
lista_temp += '3'
elif i =='l':
lista_temp.append('1')
lista_temp += '1'
elif i =='o':
lista_temp.append('0')
lista_temp += '0'
elif i =='t':
lista_temp.append('7')
lista_temp +='7'
else:
lista_temp.append(i)
lista_temp +=i
return lista_temp
def tests(f):