/Commas

A program that counts counts the number of words in a text and counts the ratio of words with a comma to the number of words without a comma.

Primary LanguagePython

Commas

A program that counts counts the number of words in a text and counts the ratio of words with a comma to the number of words without a comma. This program works with both normal text and inverted text.

In the folder with the Python script, move the file you want to process and give it a name m5-line-by-line.txt. After that, enter the following command in the console to run it:

pytnon commas.py

Screenshot of the program with inverted text:

Screenshot