KwickClips Python · 42 sec · free
What does anonymous mean?
Short answer. Without a name.
What does (lambda n: n * n)(6) print?
36.
Remember
| Anonymous: no name |
| Made with lambda |
Every function needs a name, right? Not always. Anonymous means no name. Lambda makes such a function. It takes n and returns n times n. We pass six in, so it prints thirty six. Anonymous means no name. We make it with lambda.
This clip is from the full lesson: Lambda Functions — 6 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: Programming All levels Python, Programming All levels C++
More KwickClips from this lesson
Why does return inside a lambda give a syntax error?41 sec
What does the lambda do in filter()?39 sec
When should you use def instead of lambda?41 secVoice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.

