Learn Lambda Functions by Building an Expense Tracker - Step 7

Tell us what’s happening:

im not sure what to do, prior to this my code was
my_list = [1, 2]
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)
and that didnt work either. PLEASE HELP

Your code so far


# User Editable Region

my_list = [1, 2]
my_list.pop()                  
my_list.append(3)     
print(my_list[0])
my_list[0] = 0
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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Learn Lambda Functions by Building an Expense Tracker - Step 7

you need to keep adding new things at the end

im just so confused because this is my output and i thought it would be correct , can you please give me more of a direction
1
[0, 1, 3]

you have not added the new lines at the end, you need to add them at the end

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