Lists

Enumerate and Range

Since we spent the last few posts discussing iterators, it is time to introduce enumerate and range.  Both enumerate and range are what are known as iterators.  An iterator is defined as: An iterator is an object that contains a countable number of values that can be traversed through Source: https://www.w3schools.com/python/python_iterators.asp enumerate() It’s time for […]

Enumerate and Range 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 »