input: Write a function to perform a calculation using a callback function.
  assert callback(5, lambda x: x + 1) == 6
  assert callback(3, lambda x: x * 2) == 6
  assert callback(10, lambda x: x - 4) == 6
output: def callback(value, func):
      return func(value)