code: def tanpi(x):
      try:
          return sinpi(x) / cospi(x)
      except OverflowError:
          if complex(x).imag > 10:
              return 1j
          if complex(x).imag < 10:
              return -1j
          raise
  
imports: import operator
  import math
  import cmath
label_desc: Use image node_id 9 for calling a global function with example usage: tanpi(x) and returns: unknown, int, unknown