Update u4/word_count.py
This commit is contained in:
parent
ec9ebbe985
commit
436a07aca5
@ -1,7 +1,6 @@
|
|||||||
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