diff --git a/labs02/task09.py b/labs02/task09.py index 9045054..c07d63c 100644 --- a/labs02/task09.py +++ b/labs02/task09.py @@ -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)) \ No newline at end of file