Python Python Basics (2015) Python Data Types list.remove()

Joseph Fuller
Joseph Fuller
1,155 Points

List removal

Not sure what im doing wrong trying to remove a list from inside another list. I think my syntax is wrong in some way but not sure how.

lists.py
states = [
    'ACTIVE',
    ['red', 'green', 'blue'],
    'CANCELLED',
    'FINISHED',
    5,
]
states.remove([5 , 'red', 'green', 'blue'] )