sets in python

Sets in Python-: A set in Python is an unordered collection of objects used when membership and uniqueness in the set are main things we need to know about that object. Like dictionary keys  the items in a set must be immutable and hash-able. This means that  floats, strings, and tuples can be members of a … Read more sets in python