input: from typing import List
  
  def sum_list(input_list: List[int]) -> int:
      """ Create a function in Python which takes a list as input and returns the sum of the items in the list.
      >>> sum_list([1, 2, 3, 4])
      10
      >>> sum_list([0, 0, 0, 0])
      0
      >>> sum_list([-1, 1, -2, 2])
      0
      """
output:     total = 0
      for num in input_list:
          total += num
      return total