So basically my question is this. Let's say I have a list with values
l1st = ['dog', 'cat', 'bird', 'monkey']
And I ask the user to input
input = raw_input('Please enter the word you wish to search for: ')
Here's the big question. Let's say the person wants to search for
dog
but types it in as
Dog
I don't want the program to give him an error message just because he got the capitalization wrong. What is a method I could use for a list.index search to look for, if not the exact word, the closest similar word?