Hi,
I would like to write a function that checks the user input to see if it matches with the allowable inputs. The allowable inputs are stored in a separate text file.
User-entered input:
This is the user inpt
Contents of text file:
1. Hello
2. This is the user input
3. Hi
4. How are you
How do I match the user-entered input to item #2 in the text file and also detect that the difference between the user-entered input and item #2 is that the user-entered input is missing the letter 'u' in the word "input"?
Help pls. Thanks.