Using Python, am finding it difficult to get filter() to work with lambda for cases where more than 1 argument needs to be passed as is the case in the following snippet:
I hope you are aware of?
>>> max([1, 4, 8]) 8
filter() takes a single argument. In your case, it will take 1. Then 4. Then 8.