4 ms·
you can remove the extra parentheses after sum.
by projectorlochsa 9y ago
you can remove the extra parentheses after sum.
- mod 9y agoI think the inner set is supposed to be brackets []. It's a comprehension.
- whalesalad 9y agoThe above commenter is correct. You can use parens in place of brackets to utilize a generator.