input: 
  def dot_product(list1: List[int], list2: List[int]) -> int:
      """ Calculate the dot product of two given lists of integers.
      >>> dot_product([1, 2], [3, 4])
      11
      >>> dot_product([0, 1, 2], [2, 1, 0])
      1
      """
  
output:     result = 0
      for i in range(len(list1)):
          result += list1[i] * list2[i]
      return result