Update u4/word_count.py
This commit is contained in:
parent
83f36dbe1c
commit
ec9ebbe985
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user