code: def format_names(raw):
      
      if raw:
          raw = [
              '{}:\n{}'.format(
                  header.lower(), ' '.join(func[0] for func in funcs)
              )
              for header, funcs in raw
          ]
          return '\n'.join(raw)
      return ''
docs: Format a string representing the names contained in the files.