Objects and Variables in Python

Refresh your understanding of how objects and variables generally work in Python.

We'll cover the following

As noted in the introduction, Python functions are first-class objects. This means that functions are objects that can be stored in variables, referenced in lists or other data structures, and passed in and out of functions as parameters and return values, respectively. We will explore this in a bit more detail in this chapter.

Get hands-on with 1200+ tech skills courses.