forked from tdwojak/Python2018
Zaktualizuj 'labs02/task09.py'
This commit is contained in:
parent
cc509761d9
commit
af30735b0d
@ -9,7 +9,8 @@ Np. leet('leet') powinno zwrócić '1337'.
|
||||
|
||||
|
||||
def leet_speak(text):
|
||||
pass
|
||||
return tekst.replace('o', '0').replace('l', '1').replace('e', '3').replace('t', '7')
|
||||
|
||||
|
||||
|
||||
def tests(f):
|
||||
@ -23,4 +24,4 @@ def tests(f):
|
||||
return "TESTS PASSED"
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(tests(leet_speak))
|
||||
print(tests(leet_speak))
|
Loading…
Reference in New Issue
Block a user