In today’s video I’m going to be teaching you about lambdas in Python, and how they can help eliminate the need for single-use functions.
Learn about callables: https://www.youtube.com/watch?v=C6Giftmao6Y
▶ Become job-ready with Python:
https://www.indently.io
▶ Follow me on Instagram:
https://www.instagram.com/indentlyreels
コメント
Oh , so basically like storing a function in a veriable like in javascript . Can we write multi liner code in that ?
very awesome indeed
I would advise to avoid maps and lambdas in almost every case, because list comprehensions are as fast and more readable.