It refers to the method which adds a certain value to the class. It can’t be initiated by the user rather only occurs when an internal action takes charge. In python, the built-in classes define a number of magic methods.

Suggest An Answer

No suggestions Available!