python-workout icon indicating copy to clipboard operation
python-workout copied to clipboard

wcfile.txt and e20_wc.py miscount

Open terfer opened this issue 3 years ago • 0 comments

The statement of the exercise indicates: "Number of words (separated by whitespace)", however the last word of each line is separated by a '\n' instead of a ' ', therefore the count is not correct.

terfer avatar Jun 29 '22 17:06 terfer