Robots Atlas>ROBOTS ATLAS

Python โ€” From Basics to Advanced ยท Advanced Functions

Lambdas โ€” Anonymous Functions

Advanced Functions

Introduction

A lambda is a nameless function written in a single line. It is ideal for short operations passed as arguments โ€” for example, to sorted(), map() or filter(). In this lesson you learn the syntax and common use cases.