0
dictionary
hi how can i do this that i have explained below d = {'a':[[10,20,14,12], [ 11 , 14 ,13 ,14]]} i have dic like this and i want to use values of key 'a' for example i want to sum 10+20+14+12 or sth else how can i do?
2 Antworten
+ 3
sum(d['a' ][0])
0
Thanks @kiibo Ghayal
@oma falk