Functions are First-Class Citizens in Python

Give Feedback

In this lesson, you’ll see that functions in Python are first class objects, which means you can pass them to other functions as arguments, return them from other functions as values, and store them in variables and data structures. You’ll see how to assign a function to a list data structure. This flexible feature in Python will allow you to emulate switch case.

Comments & Discussion

Become a Member to join the conversation.