code: def indent(lines, spaces=4):
      
      if isinstance(lines, str):
          text = [lines]
      text = '\n'.join(lines)
      return textwrap.indent(text, ' ' * spaces)
docs: Indent `lines` by `spaces` spaces.
  
      Parameters
      ----------
      lines : Union[str, List[str]]
          A string or list of strings to indent
      spaces : int
          The number of spaces to indent `lines`
  
      Returns
      -------
      indented_lines : str