input: Write a python function to compute the sum of two numbers and use it in another function to print the result.
  assert compute(2, 3) == 5
  assert compute(10, 20) == 30
  assert compute(-1, 1) == 0
output: def compute(a, b):
      def add(x, y):
          return x + y
      return add(a, b)