This commit is contained in:
Marege 2026-10-06 17:28:27 +02:00
parent 65e003bd39
commit 6037ee6640

View File

@ -15,5 +15,5 @@ def count_words(sentence):
for currentword in cleaned:#дивимся чи є в інших таке якщо є то +
if currentword == word:
count += 1
result[word.lower()] = count
result[word] = count
return result