first commit

This commit is contained in:
2025-11-12 11:34:34 +03:00
commit 29280f3e50
77 changed files with 272246 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
from collections import Counter
def check(line, file):
words = line.lower().split(" ")
counter = Counter(words)
with open(file, "w") as file:
for i in sorted(counter):
file.write(f"{i} {counter[i]}\n")
return