Learn Lambda Functions by Building an Expense Tracker - Step 7

Tell us what’s happening:

Please help I’m new to python and still learning i don’t know whats wrong
It keeps saying "my_list should be [0, 1, 2]

Your code so far


# User Editable Region

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

my_list.append(3)
print(my_list)

print(my_list[0])

my_list[0] = 0
print(my_list)

my_list.insert(1, 1)
print(my_list)



# User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Challenge Information:

Learn Lambda Functions by Building an Expense Tracker - Step 7

Welcome to our community!

Don’t change the given code in the challenge.

These lines go below the given code (after the insert method).

Reset step.

Wow thank you so much really appreciate it

1 Like