

def normalize_list(lst):
    'Return normalized list that sums to 1'
    s = sum(lst)
    return [(i / float(s)) for i in lst]

dataset/ETHPy150Open Ttl/evolutionary-circuits/evolutionary/chromosomes/common.py normalize_list/original