Python Python Collections Lists Removing items from a list

can you please help me with this code?

its still giving me error. can you please help me with understanding what went wrong?

lists.py
messy_list = ["a", 2, 3, 1, False, [1, 2, 3]]

# Your code goes below here
messy_list.pop(3)
messy_list.insert(0,1)

messy_list.remove('a')
messy_list.remove(False)

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 43,382 Points

You are doing well. You just need to remove the list as well.