python-workout
python-workout copied to clipboard
wcfile.txt and e20_wc.py miscount
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.