Methods

Python Sets

In Python sets (type set) is the final Python Data Types are the final python data type we will be exploring. Python sets are simply a collection of unordered unique elements.  Let’s take our tuple from the last blog post and pass it into a set, When we return my_set, we get an unordered collection […]

Python Sets Read More »

Python Tuples

Python tuples (type tuple) are the next Python Data Types we will explore. Python tuples are similar to lists except that they are immutable, which means they can not be changed.  Tuples are wrapped in ( ) parentheses. This might look familiar from the dictionary post when we used the dictionary method .items(). The output of

Python Tuples Read More »