Learn Lambda Functions by Building an Expense Tracker - Step 3

Tell us what’s happening:

It’s telling me to use the append method but I’m getting an error

Your code so far


# User Editable Region

my_list.append(3) = [1, 2]
print(my_list)

# 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/138.0.0.0 Safari/537.36 Edg/138.0.0.0

Challenge Information:

Learn Lambda Functions by Building an Expense Tracker - Step 3

Hi. Have a look at the example syntax for appending and check it against yours. Can you see the errors you need to change?

example_list = [4, 5, 6]

example_list.append(7)

Also don’t change any of the existing lines of code. I suggest you reset the step as you have changed the seed code.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.