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
+11
View File
@@ -0,0 +1,11 @@
import collections
def check(line, name):
cnt = collections.Counter(line.lower().split())
with open(name, "w") as f:
for word in sorted(cnt):
f.write(f"{word} {cnt[word]}\n")
return