Counting numbers, letters, and other things from a text file
Write a function that can take in a text file and return the number of characters in the file categorized by:
- other non space characters
The input to the function will be a text file (you can assume we scane the whole file). To help with this question, here is an example text file that we'll be using in our solution. For an additional hint, see this webpage.
Subscribe to premium account to see the solution.Get premium now