“in Python, Functions Are First-class Objects.” What Do You Infer from this?
Last updated 3 years, 1 month ago | 1170 views 75 5

It means that a function can be treated just like an object.
- You can assign them to variables
- and pass them as arguments to other functions.
- You can even return them from another function.
- You can store them in data structures such as hash tables or lists