input: Write a function to compare the mutability of a list and a tuple in Python. If the type is a list, return "mutable"; if the type is a tuple, return "immutable".
  assert compare_mutability([1, 2, 3]) == "mutable"
  assert compare_mutability((1, 2, 3)) == "immutable"
  assert compare_mutability([1, "hello", 3.5]) == "mutable"
  assert compare_mutability(("world", 2, 3.5)) == "immutable"
  assert compare_mutability([]) == "mutable"
output: def compare_mutability(data):
      if isinstance(data, list):
          return "mutable"
      elif isinstance(data, tuple):
          return "immutable"