Say I have a program does something when the user inputs "yes". Now I want my program to do this same thing if user input is something like "Yes" or any other combination of capital and lower-case letters y , e and s.
Is there any easy way to do this other than checking for every combination?