2 ms·
You really should change "except" to "except ValueError" there. Also, I suggest first converting A to a set. Just "A = set(A)" would work.
by TheLoneWolfling 12y ago
You really should change "except" to "except ValueError" there.
Also, I suggest first converting A to a set. Just "A = set(A)" would work.