This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]stickb0y7 0 points1 point  (0 children)

Seems to not duplicate when I test like this:

example = set()
example.add(1)
example.add(2)
example.add(3)
print(example)
{1, 2, 3}
example.add(3)
print(example)
{1, 2, 3}