Given structured data like [('a', 1), ('b', 3), ('c', 2)], how can I sum the integers (here, sum 1 + 3 + 2 to get 6) using the sum builtin, in a single expression?
Given structured data like [(‘a’, 1), (‘b’, 3), (‘c’, 2)] , how can I
Share
would work.