U4
This commit is contained in:
parent
27e56c0e79
commit
cff2503cc0
@ -4,7 +4,7 @@ def count_words(sentence):
|
|||||||
if i.isalnum():
|
if i.isalnum():
|
||||||
cleand += i
|
cleand += i
|
||||||
else:
|
else:
|
||||||
cleand += " "
|
cleand += ""
|
||||||
cleaned = cleand.split() # пакуєм в ліст
|
cleaned = cleand.split() # пакуєм в ліст
|
||||||
result = {}
|
result = {}
|
||||||
for word in cleaned:
|
for word in cleaned:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user