code: def adjoin(space: int, *lists: list[str], **kwargs) -> str:
      """
      Glues together two sets of strings using the amount of space requested.
      The idea is to prettify.
  
      ----------
      space : int
          number of spaces for padding
      lists : str
          list of str which being joined
      strlen : callable
          function used to calculate the length of each str. Needed for unicode
          handling.
      justfunc : callable
          function used to justify str. Needed for unicode handling.
      """
      strlen = kwargs.pop("strlen", len)
      justfunc = kwargs.pop("justfunc", justify)
  
      out_lines = []
      newLists = []
      lengths = [max(map(strlen, x)) + space for x in lists[:-1]]
      # not the last one
      lengths.append(max(map(len, lists[-1])))
      maxLen = max(map(len, lists))
      for i, lst in enumerate(lists):
          nl = justfunc(lst, lengths[i], mode="left")
          nl = ([" " * lengths[i]] * (maxLen - len(lst))) + nl
          newLists.append(nl)
      toJoin = zip(*newLists)
      for lines in toJoin:
          out_lines.append("".join(lines))
      return "\n".join(out_lines)
  
file_path: catboost/contrib/python/pandas/py3/pandas/io/formats/printing.py
imports: from __future__ import annotations
  import sys
  from typing import Any, Callable, Dict, Iterable, Mapping, Sequence, TypeVar, Union
  from pandas._config import get_option
  from pandas.core.dtypes.inference import is_sequence
label_desc: Use image node_id 1 for calling a global function with example usage: adjoin(space) and returns: str