def area_square(length):
    """
    Calculates the area of a square.

    Parameters
    ----------
    length (float or int) length of one side of a square

    Returns
    -------
    area (float) - area of the square
    """
    return length ** 2