# -----------------------------------------------------------------------------
# Name:        lecture5
# Purpose:     demonstrate Python functions
# Author:      Rula Khayrallah
# Created:     1/19/2016
# -----------------------------------------------------------------------------
"""
Compute and print the area of different rooms in a house

Compute the area of the kitchen, bedroom and family room in square feet.
Print the three areas in square feet.
"""


def area(length, width):
    """
    Compute the area of a rectangle

    Parameters:
    length, width (float)
    Returns:
    area (float)
    """
    result = length * width
    return result