def getMedian(laundry):
    """
    Gets the median item in the given list.

    Args:
        laundry (list): Items to get middle item from.

    Returns:
        (Any): The median item in the list.
    """
    length = len(laundry)

    if length == 0:
        return None

    median_index = int((length - 1) / 2)
    return laundry[median_index]