May-12-2018, 04:39 PM
I recommend you to try the suggestion with printing the "word" variable when you scan the file.
That way you will also gain insight in your code and learn the simplest and most commonly used debugging technique.
Afterall, we don't see the value of your "word" variable and thus can't tell you why the comparison fails.
That way you will also gain insight in your code and learn the simplest and most commonly used debugging technique.
Afterall, we don't see the value of your "word" variable and thus can't tell you why the comparison fails.