I need to create a dictionary from a list of integers, where each key contains the value of the sums that are in the list:
t = [[1,2],[2,1],[3,1],[4,1],[1,1],[2,2],[1,2]]
dicionario = {}
for i in t:
dicionario[str(i[0])] = 0
for i in t:...
asked by
22.01.2018 / 15:46