Welcome to the Treehouse Community
Looking to learn something new?
How do I remove all of the colors now??
I need to remove all 3 values now, instead of 1. How do I do that??
states = [ 'ACTIVE', ['red', 'green', 'blue'], 'CANCELLED', 'FINISHED', 5, ] states.remove()
First, make sure you keep the states.remove(5) from the previous step - you usually don't want to delete past steps unless it tells you to. For this one, you can pass a list to .remove(). It looks like this:
states.remove(['red', 'green', 'blue'])
You're basically telling it to find that specific list and remove it.