input: def sum_list(input_list: List[float]) -> float:
      """
      Calculates the sum of the numbers in the given list and returns it.
  
      >>> sum_list([1, 2, 3])
      6
      >>> sum_list([0.5, 0.5])
      1.0
      """
output:     total = 0.0
      for num in input_list:
          total += num
      return total