6 ms·
style
by _ZeD_ 12y ago
style
- michaelmior 12y agoWhile comprehensions are definitely standard Python, I would argue that if you're not actually changing any value (as is the case here, then just `set(a)`, being much simpler, is more Pythonic.
6 ms·