Python destructor is a function which is used to destroy the instance of a class.
It destroys all resources which are used by class instance.
A destructor is a class function that begins with double underscore (_). The name of the destructor is __del__().
Let’s see an example
print("Python means SILAN Technology")