Justin LeePro Student 593 Points
How to remove item from list?
not sure what to do
states = [ 'ACTIVE', ['red', 'green', 'blue'], 'CANCELLED', 'FINISHED', 5, ]states.remove('blue')
Brett McGregorPro Student 1,903 Points
states.remove() on a new line
if you are trying to remove the nested list, then you'll need to quote the entire list i.e. ['red', 'green', 'blue']
I find I am able to figure these challenges out more easily when I write the code locally on my machine in IDLE and execute the module from there. That way you get the direct error feedback from Python. e.g. when I execute your code above I get syntax error from Python. Any little clue helps!
[MOD: changed from comment to answer - srh]