Del vs remove


To get rid of an item out of a dictionary, we use del.
e.g. del animals[ "lion"]

To get rid of a string, we use remove.
e.g. list.remove("remove")

how they differ? why they are not interchangeagle?


google search
== discussions / opinions ==
python del vs remove
for instance


thank you. It makes me clear