input: from typing import List
  
  def create_rectangle_instances(lengths: List[float], widths: List[float]) -> List['Rectangle']:
      """Given a list of lengths and a list of widths, create and return a list of Rectangle instances.
      Each Rectangle instance should have a length and width corresponding to the respective elements
      in the lengths and widths lists.
      >>> rects = create_rectangle_instances([1.0, 2.0], [3.0, 4.0])
      >>> [rect.area() for rect in rects]
      [3.0, 8.0]
      """
output:     class Rectangle:
          def __init__(self, length: float, width: float):
              self.length = length
              self.width = width
          
          def area(self) -> float:
              return self.length * self.width
      
      rectangles = []
      for length, width in zip(lengths, widths):
          rectangles.append(Rectangle(length, width))
      
      return rectangles