Skip to content

Commit dafb7a3

Browse files
committed
fix typo
1 parent 5a6e453 commit dafb7a3

File tree

1 file changed

+1
-1
lines changed
  • modules/50-loops/26-conditions-inside-loops/ru

1 file changed

+1
-1
lines changed

modules/50-loops/26-conditions-inside-loops/ru/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ count_chars('Sansa', 'y') # 0
1616
* Какой будет проверка на вхождение символа?
1717

1818
```python
19-
def count_chars(string: str, char: int) -> int:
19+
def count_chars(string: str, char: str) -> int:
2020
index = 0
2121
count = 0
2222
while index < len(string):

0 commit comments

Comments
 (0)