April 2018
Beginner
456 pages
11h 20m
English
In the previous unit, you learned how to organize your code with functions. Functions are used to write modular code whose parts can be reused in different sections of a bigger program.
In this unit, you’ll learn about two new data types in Python: lists and dictionaries. These data types are mutable because you can modify them directly rather than having to make copies of them. Mutable data types are commonly used when writing complex programs, especially ones in which you store larger collections of data that’s likely to change. For example, you want to maintain inventory of your company’s products or all the employees who work there and their information. Mutable objects don’t have the extra overhead ...
Read now
Unlock full access