u4fix1
This commit is contained in:
parent
cff2503cc0
commit
a68ea57a4d
@ -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