spark: add word counter script with test file

This commit is contained in:
spark committed 2026-10-31 00:57:40 +00:00
1 parent 9f97f411c9
commit 4bdd23e70e
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
This test file contains exactly ten words total here now
+1 -1
View File
@@ -23,7 +23,7 @@ def main():
text = sys.stdin.read()
count = count_words(text)
print(f"Word count: {count}")
print(count)
if __name__ == "__main__":