Introduction to Python – Data Structures (Del Statement)
You can follow along with the code from the Github.
- Del – The del statement in python is used to delete objects. In Python everything is an object, so the del keyword can also be used to delete variables, lists, or parts of a list etc.
- Notice the output as you follow along the code flow.