Validated user input
Validating what the user writes can be more simple than what you think. Here´s an example, and you will notice that you have been doing it without knowing:
Ask you can see it is what you´ve been doing all the time when codying a program.
Here is another example: