dict = {'a': [1, 3, 2], 'b': [6], 'c': [0, 0]}
counts = {}
for key in dict:
    counts[key] = 0
for s in range(1, 100000):
    k = select_weighted(dict)
counts[k] = counts[k] + 1
print(counts)
Random Python dictionary key, weighted by values