import copy


def get_median(my_list):
    """ Gets the median in a list of numeric values.
    
    Args:
        my_list (list of ordinal): The list to find from.
        
    Returns:
        (float): The median.
        
    Notes:
        Throws a ZeroDivisionError on an empty list.
    """
    if len(my_list) == 0:
        raise ZeroDivisionError
    
    copied_list = sorted(copy.deepcopy(my_list))
    while len(copied_list) > 2:
        copied_list = copied_list[1:len(copied_list)-1]
        
    if len(copied_list) == 2:
        return (copied_list[0] + copied_list[1]) / 2
    else: # len(copied_list) is 1:
        return copied_list[0]