Glossary: Algorithms Beyond the Basics
lambda
Also written: key=lambda
A short anonymous function written inline. `key=lambda b: b[2]` tells `sorted` to sort bookings by their end time.
Glossary: Algorithms Beyond the Basics
Also written: key=lambda
A short anonymous function written inline. `key=lambda b: b[2]` tells `sorted` to sort bookings by their end time.