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 + [" ", "'", ""]