Update u4/word_count.py

This commit is contained in:
Roman Dmytruk 2026-10-07 13:27:46 +00:00
parent ec9ebbe985
commit 436a07aca5

View File

@ -1,7 +1,6 @@
import re import re
from collections import Counter from collections import Counter
def count_words(text: str) -> dict[str, int]: def count_words(text: str) -> dict[str, int]:
text = text.lower text = text.lower