Lecture 9 Lambda Functions, Tuples, and Lists
[SQUEAKING] [RUSTLING] [CLICKING] ANA BELL: So today, we're going to wrap up talking about functions by talking about these things called lambda functions as a way for us to create anonymous functions. And that will pretty much finish our exploration into creating functions. And the last part of the lecture, we're going to introduce new object types, tuples and lists. So let's remember what we did last time. We ended with this example. We created a function. You guys wrote it for me. And then we wrote it and debugged it together. But we created this function called apply. So what was interesting about this function is that one of its parameters was a function and the other one was an integer. And that seemed a little strange at first, but not when we realized that functions in Python are actually just objects. And so they have a name, which means that anywhere where we use other kinds of objects, like integers, floats, we can use them as parameters to function...