def norm_histogram(hist):
    """
    takes a histogram of counts and creates a histogram of probabilities

    :param hist: list
    :return: list
    """
    total_sum = sum(hist)
    hist_prob = []

    for i in hist:
        prob = i / total_sum
        hist_prob.append(prob)

    return(hist_prob)
    pass