Is there a standard way to represent a \"set\" that can contain duplicate elements.
As I understand it, a set has exactly one or zero of an element. I want functiona
If you need duplicates, use a list, and transform it to a set when you need operate as a set.