input: Write a python function to find the median of a list of numbers.
  assert find_median([7, 4, 5, 2, 10]) == 5
  assert find_median([1, 3, 3, 6, 7, 8, 9]) == 6
  assert find_median([1, 2, 3, 4, 5, 6, 8, 9]) == 4.5
  assert find_median([10]) == 10
output: def find_median(numbers):
      sorted_numbers = sorted(numbers)
      n = len(sorted_numbers)
      mid = n // 2
  
      if n % 2 == 0:
          return (sorted_numbers[mid - 1] + sorted_numbers[mid]) / 2
      else:
          return sorted_numbers[mid]