input: Write a function to compute the sum of two variables and store the result in a third variable. Print the result. If the input variables are invalid (e.g., non-numeric), print an error message.
  assert add_and_print(5, 8)==None
  # Output: 13
  assert add_and_print(3, 7)==None
  # Output: 10
  assert add_and_print("a", 5)==None
  # Output: "Invalid input: both inputs must be numeric"
  assert add_and_print(4, "b")==None
  # Output: "Invalid input: both inputs must be numeric"
output: def add_and_print(a, b):
      if isinstance(a, (int, float)) and isinstance(b, (int, float)):
          result = a + b
          print(result)
      else:
          print("Invalid input: both inputs must be numeric")