code: def eval_(node):
      if isinstance(node, ast.Num):  # <number>
          return node.n
      elif isinstance(node, ast.BinOp):  # <left> <operator> <right>
          return operators[type(node.op)](
              eval_(node.left), eval_(node.right)
          )
      elif isinstance(
          node, ast.UnaryOp
      ):  # <operator> <operand> e.g., -1
          return operators[type(node.op)](eval_(node.operand))
      else:
          raise TypeError(node)
  
imports: import ast
  from dataclasses import dataclass
  import operator
label_desc: Use image node_id 2 for calling a global function with example usage: eval_(node) and returns: node, operators, operators