Sets

The set data type in Python implements most of the operations from mathematical sets. The most common representation of sets in mathematics uses Venn diagrams (overlapping circles) which I'm assuming…

Continue ReadingSets

Tuples

A Python tuple is an ordered, immutable set of data items. By¬†ordered, we mean that the items in a tuple are stored in a definite order, not necessarily that they…

Continue ReadingTuples