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 »

Python Lists

Python Lists are an extremely versatile data type, the next of the Python data types we will explore. Lists (type list) may not seem like from looking at them, but they are an extremely powerful data type. They can hold other Python data types, strings, floats, integers, lists, dictionaries, sets, and tuples. Lists are an ordered

Python Lists Read More »

Python Integers and Floats

Python allows us to work with integers (type int) and floats (type float), two fundamental data types discussed in a previous blog post about Python Data Types. Python Integers and floats are numerical representations, with the main difference being a floating number has a decimal point, and an integer does not. The Python programming language

Python Integers and Floats Read More »