input: Write a function to swap the values of two variables. If the variables are successfully swapped, return the swapped values. If the variables are not provided or are of different data types, return an error message indicating the reason.
  assert swap_values(5, 10) == (10, 5)
  assert swap_values(10, 20) == (20, 10)
  assert swap_values("a", "b") == ("b", "a")
  assert swap_values(10, "a") == "Error: Variables must be of the same type"
  assert swap_values() == "Error: No variables provided"
output: def swap_values(a=None, b=None):
      if a is None or b is None:
          return "Error: No variables provided"
      if type(a) != type(b):
          return "Error: Variables must be of the same type"
      return (b, a)