def calculate_area(length, width): """ Calculates the area of a rectangle.
Parameters: length (float): The length of the rectangle. width (float): The width of the rectangle.
Returns: float: The area of the rectangle. """ area = length * width return area