input: 
  def sum_list(input_list: list) -> int:
      """ Takes a list of numbers and returns the sum of its elements.
      >>> sum_list([1, 2, 3])
      6
      >>> sum_list([-1, 0, 1])
      0
      """
  
output:     total = 0
      for num in input_list:
          total += num
      return total