Python – What type of elements can Set have ???

Sets are mutable (can be changed) data types where you can add elements to it. But the elements you want to add must be immutable. Yes, you hear it right. Sets are mutable data type which can allow only immutable elements added to it. In all the above examples you can see it is not allowing … Continue reading Python – What type of elements can Set have ???