def makeprobability(hairetsu):
    probability = []
    for k in range(len(hairetsu)):  # probabilityに確率を入れる
        probability.append(hairetsu[k] / sum(hairetsu))

    return probability

21616e75871cb5fc0638c70d9f92d6c0926edc5e
<mask token>

def makeprobability(hairetsu):
    probability = []
    for k in range(len(hairetsu)):
        probability.append(hairetsu[k] / sum(hairetsu))
    return probability

def makeprobability(hairetsu):
    probability = []
    for k in range(len(hairetsu)):  # probabilityに確率を入れる
        probability.append(hairetsu[k] / sum(hairetsu))

    return probability
