input: 
  def sum_array(array: List[float]) -> float:
      """A function that takes in an array of numbers and returns the sum of all the numbers.
      >>> sum_array([1, 2, 3, 4])
      10
      >>> sum_array([5, -1, 3])
      7
      """
      return sum(array)
  
output:     return sum(array)