code: def ext_language(ext, exts=None):
      
      languages = {
          '.py': 'python',
          '.py2': 'python2',
          '.py3': 'python3',
          '.sh': 'bash',
          '.bash': 'bash',
          '.pl': 'perl',
          '.js': 'javascript',
          '.txt': 'english',
      }
      ext_languages = {_: languages[_] for _ in exts} if exts else languages
      return ext_languages.get(ext)
docs: Language of the extension in those extensions
  
      If exts is supplied, then restrict recognition to those exts only
      If exts is not supplied, then use all known extensions
  
      >>> ext_language('.py') == 'python'
      True