From c57e5420b85411e91a701439857f7c48b743b9ec Mon Sep 17 00:00:00 2001 From: Oleksandr Mateshchuk Date: Tue, 6 Oct 2026 12:29:39 +0000 Subject: [PATCH] Aktualizovat u4/word_count.py --- u4/word_count.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/u4/word_count.py b/u4/word_count.py index d173eee..5c18823 100644 --- a/u4/word_count.py +++ b/u4/word_count.py @@ -5,7 +5,4 @@ from collections import Counter def word_count(text): pattern = r"\w+(?:'\w+)?" words = re.findall(pattern, text.lower()) - - return dict(Counter(words)) - - \ No newline at end of file + return dict(Counter(words)) \ No newline at end of file