A function takes a word from a list, counts how many letters it contains and print it out like this:
5 qatar
3 qua
5 quack
7 quacked.
Now I have a textfile for each letter in the alphabet and the function only works with the smaller files. If I use the file with a:s I only get this:
-1
-1
-1
And the program doesnt stop.
So, my problem is, how do I get it to work with the larger files?