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