input: Write a python function to calculate the sum of two numbers and print the result.
  assert sum_and_print(3, 5) == 8
  assert sum_and_print(10, 15) == 25
  assert sum_and_print(-1, 1) == 0
output: def sum_and_print(a, b):
      result = a + b
      print(result)
      return result