Update u4/word_count.py

This commit is contained in:
Roman Dmytruk 2026-10-07 13:25:39 +00:00
parent 83f36dbe1c
commit ec9ebbe985

View File

@ -1,6 +1,7 @@
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