From 37e465da2d4086f3c0f16751e15fa6492275472d Mon Sep 17 00:00:00 2001 From: MartinSkovran Date: Mon, 5 Oct 2026 22:47:14 +0200 Subject: [PATCH] u4_repair_2_3 --- u4/word_count.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/u4/word_count.py b/u4/word_count.py index a6f0894..a7905ab 100644 --- a/u4/word_count.py +++ b/u4/word_count.py @@ -6,7 +6,7 @@ def count_words(sentance: str) -> dict: SPECIAL_CHAR = oct(7) - delims = [":", "?", "!", "\n", "\t", ",", ".", "_"] + delims = [":", "?", "!", "\n", "\t", ",", ".", "_", '&', '@', '$', '%', '^', '&'] del_chars = ['"'] forbidden = delims + del_chars + [" ", "'", ""]