Python del Keyword
Delete an object:
name = "John"
Definition and Usage
del keyword is used to delete objects.
In Python everything is an object, so the
keyword can also be used to delete variables, lists, or parts of a list etc.
Delete a variable:
Delete the first item in a list: