input: Write a python function to add two numbers and print the result.
  assert add_and_print(1, 2) == 3
  assert add_and_print(10, 5) == 15
  assert add_and_print(-1, 1) == 0
output: def add_and_print(a, b):
      result = a + b
      print(result)
      return result