Comment on Python Multiple Assignment Is a PuzzleparentComments−_ZeD_12ystyle−michaelmior12yWhile 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.
Comments
style
While 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.