def determine_hist_type(histogram):
    """Return the data type of the histogram.

       Parameters:
       histogram(dict or list): dict, list of lists, or list of tuples

       Returns:
       str: declares what the object type of the histogram is

    """
    if isinstance(histogram, dict) is True:
        # determine if keys in dict are word strings or numbers
        return "dict"
    elif isinstance(histogram, list) is True:
        # determine if histogram is inverted or not
        if isinstance(histogram[0], str) is True:
            return "list"
        else:
            return "inverted_list"