(input_list: list)
return histogram
Get histogram representation
    :param input_list: list with different and unordered values
    :return histogram: dict with histogram of input_list
Get histogram representation
    :param input_list: list with different and unordered values
    :return histogram: dict with histogram of input_list
Get histogram representation : param input_list : list with different and unordered values : return histogram : dict with histogram of input_list
def get_histogram(input_list: list) -> dict:
    """
    Get histogram representation
    :param input_list: list with different and unordered values
    :return histogram: dict with histogram of input_list
    """
    # Create dict to store histogram
    histogram = {}
    # For each list value, add one to the respective histogram dict position
    for i in input_list:
        histogram[i] = histogram.get(i, 0) + 1
    return histogram
def get_histogram ( input_list : list ) -> dict : # Create dict to store histogram histogram = { } # For each list value, add one to the respective histogram dict position for i in input_list : histogram [ i ] = histogram . get ( i , 0 ) + 1 return histogram