August 2023
Intermediate to advanced
265 pages
3h 55m
English
This chapter contains an eclectic mix of topics that includes comprehensions, iterators, and generators. In addition, this chapter assumes that you are familiar with lists, dictionaries, and sets in Python.
The first part of this chapter discusses lambda expressions and comprehensions, followed by an introduction to magic methods. The second portion of the chapter shows you various examples of working with the filter() function and map() function, and how to combine these two functions.
The third portion of the chapter explains the difference between a function and a method, along with an introduction to Python classes. The final portion of this chapter shows you how to work with function ...
Read now
Unlock full access