def function_sum(*functions):
  """Generates a function that returns the sum of function outputs.

  Args:
    *functions: List of functions.

  Returns:
    Callable.
  """
  def output_function(*args, **kwargs):
    return sum(func(*args, **kwargs) for func in functions)

  return output_function