demo_list_remove.py:
thislist = ["apple", "banana", "cherry"] thislist.remove("banana") print(thislist)
➜ begtut>python demo_list_remove.py
['apple', 'cherry']