Dillon Edwards902 Points
states.remove(['red','green','blue']) does not seem to work. What am I missing in the second part of this question?
I actually verified this by remaking it in the console workspace simulator and was able to do what the question asked. I also referenced 7:21 in the Lists video with Kenneth Love. I am not sure if I am going crazy, or if I am missing something very obvious, but I tried recreating it in the console and did not have this problem.
states = [ 'ACTIVE', ['red', 'green', 'blue'], 'CANCELLED', 'FINISHED', 5, ] states.remove(['red','green','blue'])
Jason AndersTreehouse Moderator 144,864 Points
It looks like you're missing the code from Task One. Without that, the code checker cannot properly check your code, and that is why you are receiving the
Challenges are very specific and must always have the instructions followed exactly. Unless it tells you to remove or change some code... don't.
If a challenge has more than one task, the code always just builds. So, for this one, there should be two lines that have
Otherwise, nice work! :)