title: Python dictionary convert to lowercase?
body: <p>I have this Python dictionary that needs to be converted to lowercase. The dictionary consists of data that needs to correspond to case insensitive input, e.g. so it will work for resp = 'GBR'  or 'gbr'. Hope I'm making sense here. Any help would be hugely appreciated!</p>
  
  <pre><code>resp = raw_input('Which country is ' + record['name'] + ' in? ')
          print " "
          valid = {'GBR': ['GBR',
                          'United Kingdom',
                          'UK',
                          'Great Britain and Northern Island',
                          'GB'
                          ],
                  'IRL': ['IRL',
                          'Eire',
                          'Republic of Ireland'
                          ]
              }
          if resp in valid[record['sov']]:
              answ = 'Yes, ' + record['name'] + ' is in the ' + resp
  </code></pre>