def min_spacing(mylist):
    """
    Find the minimum spacing in the list.

    Args:
        mylist (list): A list of integer/float.

    Returns:
        int/float: Minimum spacing within the list.
    """
    # Set the maximum of the minimum spacing.
    min_space = max(mylist) - min(mylist)

    # Iteratively find a smaller spacing.
    for item in mylist:
        spaces = [abs(item - item2) for item2 in mylist if item != item2]
        min_space = min(min_space, min(spaces))

    # Return the answer.
    return min_space