Loading video player…

Functions Are First-Class Citizens in Python

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.

Become a Member to join the conversation.