Python Lambdas Deep Dive (The Course)
This Course is part of the following Tracks:
Course Info
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?
- Do you already know another programming language like Java, Javascript, or C++ but you suspect that every professional Python coder will quickly spot that you're not writing Pythonic code?
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:
- Overview
- 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 keywordlambda
, 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 x+y+z
.
Well, take the course to find out! ?
Course Material
- Table of Contents
- Introduction
- Programming Environments
- Lesson 1: Basics
- Basics
- Quiz
- Lesson 2: How to Use Lambdas?
- How to Use Lambdas
- Quiz
- Lesson 3: Parameters of Lambda Functions
- Parameters of Lambda Functions
- Quiz
- Lesson 4: Lambdas in the Map Function
- Lambdas in the Map Function
- Quiz
- Lesson 5: Stacking Lambdas
- Stacking Lambdas
- Quiz
- Lesson 6: Lambdas in the Filter Function
- Lambdas in the Filter Function
- Quiz
- Lesson 7: Complex Lambdas with Condition
- Complex Lambdas with Condition
- Quiz
- Lesson 8: Lambdas in the Sorted Function
- Lambdas in the Sorted Function
- Quiz
- Lesson 9: Summary and Conclusion
- Summary and Conclusion
- Quiz
- Exercises
- Exercise 1
- Exercise 2
- Exercise 3
- Exercise 4
- Exercise 5
- Solutions
- Solution 1
- Solution 2
- Solution 3
- Solution 4
- Solution 5
Instructors
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.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $13 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