Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
projectorlochsa
· 9y ago · 0 comments
you can remove the extra parentheses after sum.
Comments
[–]
mod
9y ago
I think the inner set is supposed to be brackets [].
It's a comprehension.
[–]
whalesalad
9y ago
The above commenter is correct. You can use parens in place of brackets to utilize a generator.