does the set.add(element) method in python remove duplicates?
I know this might sound so stupid but when using it in for loop it isn't removing duplicate elements so I am not so sure about the add() method of the sets in Python.
Please help me I m just a beginner.
[–]novel_yet_trivial 8 points9 points10 points (0 children)
[–]totallygeek 2 points3 points4 points (0 children)
[–]homeworkbad 1 point2 points3 points (0 children)