ВН
Size: a a a
ВН
I
AK
I
🌼S
AK
I
I
ВН
🌼S
ВН
🌼S
ВН
AK
MV
🌼S
from collections import defaultdict
data = defaultdict(int)
for t in ls:
data[t['tiker']] += int(t['value'])
[{‘tiker’: t, ‘summ’: v} for t, v in data.items()]
🌼S
🌼S
ВН
from collections import defaultdict
data = defaultdict(int)
for t in ls:
data[t['tiker']] += int(t['value'])
[{‘tiker’: t, ‘summ’: v} for t, v in data.items()]
MV