code: def _join_with_newline(list_):
      return "\n".join(list_)
  
imports: from __future__ import annotations
  import re
  import sys
  from pathlib import Path
  from rich.console import Console
label_desc: Use image node_id 2 for calling a global function with example usage: _join_with_newline(list_) and returns: str