I want to test if a value is a key from a dictionary, i do this like so:
if value in dict:
print "value found"
else:
print "value not found"
Now this doesn't work if value = "abcd" and the key in the dictionary is "Abcd"...
How do i say he has to compare the values but uppercase and lowercase is the same?
(i don't want to lowercase all the words in my dictionary as we are talking a 200Mb dictionary here)