it sounds simple but I can not resolve this issue. I do not see the result of the filter().
Please post your actual code and a link to the step instead of posting a screenshot. Thanks
Thank you @Teller I am trying to read how filter and lambda work but I got lost…I go to bed now I will check again tomorrow…I
ok @JeremyLT I will do it next time…I am still learning how to use this forum.
This is more to do with how a function return works
@AbdulioUnited
In your snapshot of what you have so far, above the request box you find the following function code:
def total_expenses(expenses):
return sum(map(lambda expense: expense['amount'], expenses))
That’s an example of a function that returns the result of a sum() call.
If you compare, the request is asking you do the same but using a filter() call.
I love you so much @anon28508191 …it works. I did not add the space in between return filter() expression…
sorry for that and Thank you all
