311.csv #1
@ -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