Comment on Python Multiple Assignment Is a PuzzleparentComments−TheLoneWolfling12yYou really should change "except" to "except ValueError" there.Also, I suggest first converting A to a set. Just "A = set(A)" would work.
Comments
You really should change "except" to "except ValueError" there.
Also, I suggest first converting A to a set. Just "A = set(A)" would work.