Welcome to the Treehouse Community
Looking to learn something new?
Alistair Murphy743 Points
still stuck on this, please somebody "did you use .romove () error ?
put me out of my misery i beg xD
states = [ 'ACTIVE', ['red', 'green', 'blue'], 'CANCELLED', 'FINISHED', 5, ] states.remove (["red","green","blue"])
There are two issues:
The first task asks you to remove the number 5 from the list, you are not doing that in your current code which is an issue since you need to keep the code from each task around in multi-task challenges like this.
The challenge checker can at times be pretty picky about how your code looks. It doesn't like the fact that you have a space between the
removemethod and its parenthesis, so you have to remove that space.
If you fix those two issues like this:
states = [ 'ACTIVE', ['red', 'green', 'blue'], 'CANCELLED', 'FINISHED', 5, ] states.remove(5) states.remove(["red","green","blue"])
Then you will be able to pass the challenge.