Given an iterable of pairs, sum the first elements of the pairs for which the first element of the pair is odd and the second element is truthy.
What the code you're suggesting does is, to be polite, unrelated.
i agree that i misinterpreted the codes intention.
Given an iterable of pairs, sum the first elements of the pairs for which the first element of the pair is odd and the second element is truthy.
What the code you're suggesting does is, to be polite, unrelated.