Python Python Basics (2015) Python Data Types Lists

removing something from the list

how do l remove something from the list

1 Answer

Jeremy Hill
Jeremy Hill
22,544 Points

Just use .remove() after the iterable that you want to remove from:

list_items["one", "two", "three"]

list_items.remove("two")