Python Lambdas Deep Dive (The Course)
This Course is part of the following Tracks:
This course includes 3 attempts.
"I Hate These Stupid Lambda Functions in Python!"
- Have you ever found yourself expressing emotional statements like this in regards to Python's lambda functions?
- Do you want to understand functional programming but you simply cannot wrap your head around the difficult syntax?
If you answered any of the previous questions with YES!, this course is for you.
Functional Programming == The Swiss-Army Knife of Python Programming
Every master coder uses functional programming to code faster, smarter, and better.
Do you want to master Python? Take this deep dive and master Lambdas to write effective, functional, and Pythonic code!
How This Course is Organized
The first part of the course consists of 9 lessons. In each lesson, you will learn a piece of the theory of lambda functions in a video.
Each lesson ends with a quiz so that you can check if you understood the lesson.
In the second part it's your turn: In 5 practical exercises, you'll apply your learned knowledge and check your solution against the provided ones.
Table of Contents:
- Applications min() and max()
- Parameterless Lambdas
- Map Function and Lambdas
- Stacking Lambdas
- The Filter Function
- If-Else Loops
- Customize Sort()
What Is A Lambda Function Anyways?
A lambda function is an anonymous function in Python. It starts with the keyword
lambda, followed by a comma-separated list of zero or more arguments, followed by the colon and the return expression. For example,
lambda x, y, z: x+y+z would calculate the sum of the three argument values
Well, take the course to find out! ?
- Table of Contents
- Programming Environments
- Lesson 1: Basics
- Lesson 2: How to Use Lambdas?
- How to Use Lambdas
- Lesson 3: Parameters of Lambda Functions
- Parameters of Lambda Functions
- Lesson 4: Lambdas in the Map Function
- Lambdas in the Map Function
- Lesson 5: Stacking Lambdas
- Stacking Lambdas
- Lesson 6: Lambdas in the Filter Function
- Lambdas in the Filter Function
- Lesson 7: Complex Lambdas with Condition
- Complex Lambdas with Condition
- Lesson 8: Lambdas in the Sorted Function
- Lambdas in the Sorted Function
- Lesson 9: Summary and Conclusion
- Summary and Conclusion
- Exercise 1
- Exercise 2
- Exercise 3
- Exercise 4
- Exercise 5
- Solution 1
- Solution 2
- Solution 3
- Solution 4
- Solution 5
I love coding and espacially in Python! Python is easy to learn and at the same time it is very powerful. Through the books I would like to help you to discover this! Therefore we designed our puzzle based teaching approach which helps you to learn quickly what you really need and with fun.
I have been working as a Software developer for several years. Currently I'm in the field of operations/SRE of cloud applications.
Chris is the founder of the programming education company FINXTER, author of the Coffee Break Python series of self-published books, the popular programming book Python One-Liners (NoStarch 2020), a doctorate computer scientist, and owner of one of the top 10 Python blogs worldwide.
His research interests include graph theory and distributed systems.
You can join the FINXTER email academy and consume a large body of free email courses about various topics in computer science and programming.
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them