hands-on lab

Python: Lambda Functions

Advanced
Up to 1h
120
5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Learn how to create anonymous functions in Python.

The Python language syntax includes rules for anonymous functions named: lambda functions. Lambda functions help to produce more readable code by defining simple functions inline where they're used.

This lab introduces lambda functions through hands-on examples and ends with the chance to practice what you've learned.

Prerequisites:

  • Proficient with:
    • The Python runtime
    • The Python language syntax

About the author

Students
113,669
Labs
38
Courses
51
Learning paths
58

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered topics

Lab steps

Web IDE Review
Lambda Functions
Demonstrate Your Knowledge
Solution