I have several tuples stored in a set, and I'm trying to add two sets of duplicates to the set through a nested loop loop, which basically iterates through another group of tuples and checks the condition in the tuple, and then adds the tuple to the set if the tuple satisfies the condition . However, some tuples are duplicated, and I notice that duplicates are not added.
source share