Learn Lambda Functions by Building an Expense Tracker - Step 10

Tell us what’s happening:

I can’t get it to work. Maybe I need another coffee?!

Your code so far

def add_expense(expenses, amount, category):
    pass
    

# User Editable Region

    expenses()

# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Learn Lambda Functions by Building an Expense Tracker - Step 10

probably. What is a list in Python?

I’d tried the answer just with an indent :roll_eyes:

so did you manage to pass the step?

yeah, i got there. i tend to only post when i know it’s something stupid but for some reason can’t figure it out :rofl:

1 Like