Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set the default subtitles language in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

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.

Become a Member to join the conversation.