code: def build_nested(code, depth, base="def f():\n"):
      if depth == 0:
          return code
  
      new_code = base + indent(code)
      return build_nested(new_code, depth - 1, base=base)
  
imports: import sys
  from textwrap import dedent
label_desc: Use image node_id 2 for calling a global function with example usage: build_nested(code, depth, base) and returns: build_nested, code