August 2023
Intermediate to advanced
265 pages
3h 55m
English
This chapter introduces an assortment of Python data structures, including lists, vectors, matrices, queues, tuples, and dictionaries, as well as a section that discusses functional programming.
The first part of this chapter discusses lists and operations that you can perform on Python lists. This section also contains simple examples of comprehensions. The second portion of the chapter shows you how to work vectors, matrices, and queues.
The third portion of the chapter discusses tuples, sets, and dictionaries, along with code samples. The final part of this chapter discusses functional programming.
NOTE The Python files in this book are for Python 3.x.
With the preceding points in mind, let’s take a look ...
Read now
Unlock full access