code: def print_output(output):
      if output:
          print("Captured output:")
          print(
              "| ".join(
                  [
                      f"{'='*60}\n",
                      *output.splitlines(True),
                      f"\n{'='*60}\n",
                  ]
              )
          )
      else:
          print("No captured output")
  
imports: import numpy
  import torch
  import re, gc
  from math import isclose
  import inspect
label_desc: Use image node_id 10 for calling a global function with example usage: print_output(output) without return types