Set  Data Structure If we want to represent a group of unique values as a single entity then we should go for set. Duplicates are not allowed. Insertion order is not preserved. But we can sort the elements. Indexing and slicing not allowed for the set. Heterogeneous elements are allowed.Continue Reading