Commit 7f175787 authored by GulyaevSA's avatar GulyaevSA
Browse files

Update tasks/functions.md

parent 82332915
......@@ -99,8 +99,8 @@ assert dummy("Error: not found") == ("Error: not found", 200)
```Python
counter = counter_clojure()
assert counter("Привет") == {"П": 1, "р": 1, "и": 1, "в": 1, "e": 1, "т": 1}
assert counter("мир") == {"П": 1, "р": 2, "и": 2, "в": 1, "e": 1, "т": 1, "м": 1}
assert counter("Привет") == {"П": 1, "р": 1, "и": 1, "в": 1, "е": 1, "т": 1}
assert counter("мир") == {"П": 1, "р": 2, "и": 2, "в": 1, "е": 1, "т": 1, "м": 1}
```
10. Написать декоратор `logger`, который принимает произвольную функцию, и возвращает функцию, которая до выполнения
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment