input: Write a python function to compute the mean and variance of a list of numbers.
  assert analyze_list([1, 2, 3, 4, 5]) == (3.0, 2.0)
  assert analyze_list([10, 10, 10, 10]) == (10.0, 0.0)
  assert analyze_list([2, 4, 6, 8, 10]) == (6.0, 8.0)
output: def analyze_list(numbers):
      mean = sum(numbers) / len(numbers)
      variance = sum((x - mean) ** 2 for x in numbers) / len(numbers)
      return mean, variance