def normalize_list(lst):
    s = sum(lst)
    return [i/float(s) for i in lst]
Return normalized list that sums to 1
dataset/ETHPy150Open Ttl/evolutionary-circuits/evolutionary/chromosomes/common.py/normalize_list