code: def nthroot(x, n):
      r = 1.0 / n
      try:
          return float(x) ** r
      except (ValueError, TypeError):
          return complex(x) ** r
  
imports: import operator
  import math
  import cmath
label_desc: Use image node_id 4 for calling a global function with example usage: nthroot(x, n) and returns: unknown, unknown