I have a two dimensional array that looks like this:
TITLETYPE = [['Prof.', '4'],
['Dr.', '3'],
['Mrs.', '2'],
['Ms.', '1'],
['Mr.', '0']]
I need to get the key for value 1 for example (which should be 'Ms.') How should I go about doing that?