def add(x, y):
    """
    This function sums up two numbers.

    Parameters
    ----------
    x : float
        The first number to be added.
    y : float
        The second number to be added.
    Returns
    -------
    sum : float
        The sum of x and y.
    """
    sum = x + y

    return sum