input: def sum_list(input_list: list) -> int:
      """
      Takes a list as input and returns the sum of the items in the list.
      >>> sum_list([1, 2, 3, 4, 5])
      15
      >>> sum_list([10, -5, 3, 0])
      8
      """
output:     total = 0
      for num in input_list:
          total += num
      return total