 Hi everyone, in this tutorial I'm gonna be showing you how to filter out negative numbers from a list in Python language. Suppose that we have a list with these five elements. What we wanna do is to filter out all negative numbers so that we can get a new filtered list with all numbers that are not negative. So let's see how we can do that. First I'm gonna create a list that is gonna contain these five elements. Three of them are gonna be negative numbers and then I want a list. All non-negative elements from this list. So I'm gonna use the filter function and I wanna keep all elements that are not negative. That means they're gonna be positive or equal to zero. The second argument of this filter function is gonna be the name of our list and this expression is gonna be lambda expression. So I'm gonna say lambda x where x is not negative number and then we're gonna save this list to a new list. Let's call it filtered list. Now what we want to do is to print this filtered list. So I'm gonna type the filtered list is and I'm gonna provide all elements from our filtered list and press enter. As you can see with this code we filtered out negative numbers from this list. That's all in this tutorial. Don't forget to subscribe to our channel. See you in the next tutorial. Happy coding!