We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bbb155 commit 528a665Copy full SHA for 528a665
1 file changed
modules/40-define-functions/600-type-annotations/ru/EXERCISE.md
@@ -6,7 +6,12 @@
6
```python
7
text = 'python'
8
print(word_multiply(text, 2)) # => pythonpython
9
-print(word_multiply(text, 0)) # =>
+print(word_multiply(text, 0)) # =>
10
```
11
12
Укажите аннотации типов при объявлении функции.
13
+
14
+## Подсказка
15
16
+* Для замены символов в строке воспользуйтесь методом [replace()](https://ru.hexlet.io/qna/python/questions/kak-rabotaet-metod-replace-python)
17
+* Не забудьте, что аннотацию типов также нужно указать и у возвращаемого значения
0 commit comments