Ans.Python has no inbuilt main function to start the execution of the program. Python has special variable __name__; it provides the functionality of the main function.
DDaudalagidhas quoted2 years ago
The __del__() method is known as a destructor method in Python. It is called when all references to the object have been deleted.
DDaudalagidhas quoted2 years ago
Pillars of OOPs: Abstraction: To hide complexity and show which is necessary to a current problem scenario. Encapsulation: Combine data of the similar type of objects into a single unit.