def mySub(a, b):
    """
    Find the absolute difference between the two inputs

    Parameters
    ----------
    a : int or float
        First number
    b : int or float
        Second number

    Returns
    -------
    int or float
        Returns the difference between the two inputs
    """
    diff = 0
    if a>b:
        diff = a-b
    elif b>a:
        diff = b-a
    else:
        diff = 0
    return diff